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.
This commit is contained in:
@ -368,7 +368,7 @@ get_event_window (GdkEventTranslator *translator,
|
||||
xwindow = xevent->xany.window;
|
||||
}
|
||||
|
||||
return gdk_window_lookup_for_display (display, xwindow);
|
||||
return gdk_x11_window_lookup_for_display (display, xwindow);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
||||
Reference in New Issue
Block a user