diff options
Diffstat (limited to 'win/tkWinEmbed.c')
-rw-r--r-- | win/tkWinEmbed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinEmbed.c b/win/tkWinEmbed.c index 4277978..bc86019 100644 --- a/win/tkWinEmbed.c +++ b/win/tkWinEmbed.c @@ -736,7 +736,7 @@ TkWinEmbeddedEventProc( */ if (topwinPtr) { - if (wParam >= 0 && wParam <= 3) { + if (wParam <= 3) { TkpWmSetState(topwinPtr, wParam); } result = 1+TkpWmGetState(topwinPtr); |