]> Pileus Git - ~andy/gtk/commit
new function to get the *real* geometry position of a window, taken
authorTim Janik <timj@gtk.org>
Fri, 25 Sep 1998 23:04:32 +0000 (23:04 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 25 Sep 1998 23:04:32 +0000 (23:04 +0000)
commitc961dd184bee95fe213f770a963e13f34cc1a2de
tree3e2bb95ee86c10eeb6d68e9296dc565d11254f01
parent416b69a2c1b79c9f14cfd3099c88d82c2dc6d876
new function to get the *real* geometry position of a window, taken

Sat Sep 25 23:33:55 1998  Tim Janik  <timj@gtk.org>

        * gdk/gdkwindow.c (gdk_window_get_root_origin): new function to get
        the *real* geometry position of a window, taken possible window
        manager offsets into account.
        this has been succesfully tested with fvwm, fvwm-2, bowman, olwm,
        olvwm, twm, ctwm, mlvwm, windowmaker and enlightenment.
        it does fail though for amiwm which adds windows to a pseudo root
        window, and for icewm by a small offset because it defines the
        geometry position whithin its border.

        * gtk/testgtk.c: added "saved position" test to figure how
        gdk_window_get_root_origin() interacts with window managers (repopup
        this window to figure ;).
14 files changed:
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/gdk.h
gdk/gdkglobals.c
gdk/gdkwindow.c
gdk/x11/gdkglobals-x11.c
gdk/x11/gdkwindow-x11.c
gtk/testgtk.c
tests/testgtk.c