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:
@ -221,7 +221,7 @@ gdk_selection_owner_get_for_display (GdkDisplay *display,
|
||||
if (xwindow == None)
|
||||
return NULL;
|
||||
|
||||
return gdk_window_lookup_for_display (display, xwindow);
|
||||
return gdk_x11_window_lookup_for_display (display, xwindow);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user