x11: Use window macros instead of drawable macros

GDK_WINDOW_XID() instead of GDK_DRAWABLE_XID()
GDK_WINDOW_XDISPLAY() instead of GDK_DRAWABLE_XDISPLAY()
This commit is contained in:
Benjamin Otte
2010-10-06 01:22:45 +02:00
parent 91679c384a
commit 3b8aea389d
6 changed files with 70 additions and 70 deletions

View File

@ -726,8 +726,8 @@ gdk_display_x11_translate_event (GdkEventTranslator *translator,
Window child_window = 0;
gdk_error_trap_push ();
if (XTranslateCoordinates (GDK_DRAWABLE_XDISPLAY (window),
GDK_DRAWABLE_XID (window),
if (XTranslateCoordinates (GDK_WINDOW_XDISPLAY (window),
GDK_WINDOW_XID (window),
screen_x11->xroot_window,
0, 0,
&tx, &ty,