]> Pileus Git - ~andy/gtk/commitdiff
Ignore WM_MOVE for iconified or invisible windows. This fixes various
authorTor Lillqvist <tml@iki.fi>
Sun, 9 Jan 2000 18:57:20 +0000 (18:57 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 9 Jan 2000 18:57:20 +0000 (18:57 +0000)
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.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/win32/gdkevents-win32.c

index 876abd231c4590715d3b487f9d57fd6578a217d4..153f4330b7c18961c9810fd170a8831edec2b74f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
 2000-01-05  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/gdkdraw.c (gdk_draw_lines): Fix copy&paste error: Call the
index 876abd231c4590715d3b487f9d57fd6578a217d4..153f4330b7c18961c9810fd170a8831edec2b74f 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-01-05  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/gdkdraw.c (gdk_draw_lines): Fix copy&paste error: Call the
index 876abd231c4590715d3b487f9d57fd6578a217d4..153f4330b7c18961c9810fd170a8831edec2b74f 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-01-05  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/gdkdraw.c (gdk_draw_lines): Fix copy&paste error: Call the
index 876abd231c4590715d3b487f9d57fd6578a217d4..153f4330b7c18961c9810fd170a8831edec2b74f 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-01-05  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/gdkdraw.c (gdk_draw_lines): Fix copy&paste error: Call the
index 876abd231c4590715d3b487f9d57fd6578a217d4..153f4330b7c18961c9810fd170a8831edec2b74f 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-01-05  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/gdkdraw.c (gdk_draw_lines): Fix copy&paste error: Call the
index 876abd231c4590715d3b487f9d57fd6578a217d4..153f4330b7c18961c9810fd170a8831edec2b74f 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-01-05  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/gdkdraw.c (gdk_draw_lines): Fix copy&paste error: Call the
index 876abd231c4590715d3b487f9d57fd6578a217d4..153f4330b7c18961c9810fd170a8831edec2b74f 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-01-05  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/gdkdraw.c (gdk_draw_lines): Fix copy&paste error: Call the
index 3d698a6a55eb993f8fac0b0445fda8a930ffce82..deb84623752f5dd73d2ce4ca32fecc9e9727b027 100644 (file)
@@ -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;