]> Pileus Git - ~andy/gtk/commit
Add gdk_window_get_root_coords
authorAlexander Larsson <alexl@redhat.com>
Mon, 8 Jun 2009 15:03:47 +0000 (17:03 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 8 Jun 2009 18:01:05 +0000 (20:01 +0200)
commit4d54de336b02cdc01cbfd0debc72ede58fc5091b
tree6ff3e52c2f6eb58f91892e53d0b6772e809a738b
parenta8549898abbc02b8f96f358f511c0ac4a545087d
Add gdk_window_get_root_coords

We want to be able to map any window coordinate to a root coordinate, not
just the origin, because you can't rely anymore on a simple translation
from window coordinates to parent with offscreen windows. This lets
us e.g. pop up menus in the right place even if they are popped up from
a no-window widget.
gdk/gdkoffscreenwindow.c
gdk/gdkwindow.c
gdk/gdkwindow.h
gdk/gdkwindowimpl.h
gdk/x11/gdkwindow-x11.c