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:
Matthias Clasen
2010-12-15 01:39:30 -05:00
parent 39a71b8831
commit 2d7583c0e3
23 changed files with 185 additions and 213 deletions

View File

@ -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