mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
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)
This commit is contained in:
parent
38a257bce2
commit
a96d0b38c6
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user