diff options
author | Tor Lillqvist <tml@iki.fi> | 2000-01-09 18:57:20 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2000-01-09 18:57:20 +0000 |
commit | 82abdad4db4560e0c010749a4972807a7bd0c61d (patch) | |
tree | df97c17260d944c1b2e4a2dad20603194ab35bc9 /gdk/win32 | |
parent | 4be016b20b2f27b796ce282bbf4bd10e737788ed (diff) | |
download | gtk+-82abdad4db4560e0c010749a4972807a7bd0c61d.tar.gz |
Ignore WM_MOVE for iconified or invisible windows. This fixes various
2000-01-09 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Ignore
WM_MOVE for iconified or invisible windows. This fixes various
problems when minimising windows. Thanks to Bernd Herd.
Diffstat (limited to 'gdk/win32')
-rw-r--r-- | gdk/win32/gdkevents-win32.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index 3d698a6a55..deb8462375 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -3994,7 +3994,9 @@ gdk_event_translate (GdkEvent *event, if (!(GDK_WINDOW_WIN32DATA(window)->event_mask & GDK_STRUCTURE_MASK)) break; - if (GDK_DRAWABLE_TYPE (window) != GDK_WINDOW_CHILD) + if (GDK_DRAWABLE_TYPE (window) != GDK_WINDOW_CHILD + && !IsIconic(xevent->hwnd) + && IsWindowVisible(xevent->hwnd)) { event->configure.type = GDK_CONFIGURE; event->configure.window = window; |