diff options
author | Tor Lillqvist <tml@iki.fi> | 2004-09-15 18:37:45 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2004-09-15 18:37:45 +0000 |
commit | a96d0b38c6e1ed9a35ed0c94077257afbd6bd2d7 (patch) | |
tree | 8b19644f1869562f273670c4ac8128ac042a5d7f | |
parent | 38a257bce29d0879db1091490b1db98c2d93d75a (diff) | |
download | gdk-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-- | ChangeLog | 8 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 8 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 8 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 8 | ||||
-rw-r--r-- | gdk/win32/gdkwindow-win32.c | 8 |
5 files changed, 32 insertions, 8 deletions
@@ -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; |