summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkdevicemanager-xi.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-12-15 01:39:30 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-12-21 12:06:59 -0500
commit2d7583c0e32168a89168a1fbc40155122db1bfe9 (patch)
tree9ac82c91881a44de2b2a72046f452781bf86588f /gdk/x11/gdkdevicemanager-xi.c
parent39a71b8831988f29da763ccc71f2a45e01a212ae (diff)
downloadgtk+-2d7583c0e32168a89168a1fbc40155122db1bfe9.tar.gz
Make gdk_window_{lookup,foreign_new}_for_display backend specific
At the same time, make GDK_IS_DISPLAY_X11 available in gdkx.h, and add some exemplaric ifdefs to GTK+ code.
Diffstat (limited to 'gdk/x11/gdkdevicemanager-xi.c')
-rw-r--r--gdk/x11/gdkdevicemanager-xi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/x11/gdkdevicemanager-xi.c b/gdk/x11/gdkdevicemanager-xi.c
index 6d65725fad..9d8c5bcf6f 100644
--- a/gdk/x11/gdkdevicemanager-xi.c
+++ b/gdk/x11/gdkdevicemanager-xi.c
@@ -104,7 +104,7 @@ window_input_info_filter (GdkXEvent *xevent,
xev = (XEvent *) xevent;
display = gdk_device_manager_get_display (device_manager);
- window = gdk_window_lookup_for_display (display, xev->xany.window);
+ window = gdk_x11_window_lookup_for_display (display, xev->xany.window);
if (window && xev->type == ConfigureNotify)
gdk_device_xi_update_window_info (window);
@@ -421,7 +421,7 @@ gdk_device_manager_xi_translate_event (GdkEventTranslator *translator,
if (!device)
return FALSE;
- window = gdk_window_lookup_for_display (display, xevent->xany.window);
+ window = gdk_x11_window_lookup_for_display (display, xevent->xany.window);
if (!window)
return FALSE;