summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2004-09-15 18:37:45 +0000
committerTor Lillqvist <tml@src.gnome.org>2004-09-15 18:37:45 +0000
commita96d0b38c6e1ed9a35ed0c94077257afbd6bd2d7 (patch)
tree8b19644f1869562f273670c4ac8128ac042a5d7f
parent38a257bce29d0879db1091490b1db98c2d93d75a (diff)
downloadgdk-pixbuf-a96d0b38c6e1ed9a35ed0c94077257afbd6bd2d7.tar.gz
Remove bogus code that tried to do what the X11 backend does in its
2004-09-15 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkwindow-win32.c (gdk_window_get_frame_extents): Remove bogus code that tried to do what the X11 backend does in its version of this function. There are no "frame windows" (for toplevel window decoration) on Windows. The desktop ("root") window is not the parent of a toplevel window. (#152481)
-rw-r--r--ChangeLog8
-rw-r--r--ChangeLog.pre-2-108
-rw-r--r--ChangeLog.pre-2-68
-rw-r--r--ChangeLog.pre-2-88
-rw-r--r--gdk/win32/gdkwindow-win32.c8
5 files changed, 32 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ea1481c5..3f0603ee0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-09-15 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkwindow-win32.c (gdk_window_get_frame_extents):
+ Remove bogus code that tried to do what the X11 backend does in
+ its version of this function. There are no "frame windows" (for
+ toplevel window decoration) on Windows. The desktop ("root")
+ window is not the parent of a toplevel window. (#152481)
+
2004-09-15 Matthias Clasen <mclasen@redhat.com>
* NEWS: Update.
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 1ea1481c5..3f0603ee0 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,11 @@
+2004-09-15 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkwindow-win32.c (gdk_window_get_frame_extents):
+ Remove bogus code that tried to do what the X11 backend does in
+ its version of this function. There are no "frame windows" (for
+ toplevel window decoration) on Windows. The desktop ("root")
+ window is not the parent of a toplevel window. (#152481)
+
2004-09-15 Matthias Clasen <mclasen@redhat.com>
* NEWS: Update.
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 1ea1481c5..3f0603ee0 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,11 @@
+2004-09-15 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkwindow-win32.c (gdk_window_get_frame_extents):
+ Remove bogus code that tried to do what the X11 backend does in
+ its version of this function. There are no "frame windows" (for
+ toplevel window decoration) on Windows. The desktop ("root")
+ window is not the parent of a toplevel window. (#152481)
+
2004-09-15 Matthias Clasen <mclasen@redhat.com>
* NEWS: Update.
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 1ea1481c5..3f0603ee0 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,11 @@
+2004-09-15 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkwindow-win32.c (gdk_window_get_frame_extents):
+ Remove bogus code that tried to do what the X11 backend does in
+ its version of this function. There are no "frame windows" (for
+ toplevel window decoration) on Windows. The desktop ("root")
+ window is not the parent of a toplevel window. (#152481)
+
2004-09-15 Matthias Clasen <mclasen@redhat.com>
* NEWS: Update.
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index 5fe64b7e9..8d5826d83 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -2021,14 +2021,6 @@ gdk_window_get_frame_extents (GdkWindow *window,
private = (GdkWindowObject*) private->parent;
hwnd = GDK_WINDOW_HWND (window);
-
- /* find the frame window */
- while (HWND_DESKTOP != GetParent (hwnd))
- {
- hwnd = GetParent (hwnd);
- g_return_if_fail (NULL != hwnd);
- }
-
API_CALL (GetWindowRect, (hwnd, &r));
rect->x = r.left + _gdk_offset_x;