x11: Make gdk_x11_display_get_root_window available

This will replace the frontend api of the same name.
This commit is contained in:
Matthias Clasen 2017-11-05 21:05:25 -05:00
parent c1c919cf7d
commit 5db2352eba
2 changed files with 3 additions and 1 deletions

View File

@ -3154,7 +3154,7 @@ gdk_x11_display_get_setting (GdkDisplay *display,
return gdk_x11_screen_get_setting (GDK_X11_DISPLAY (display)->screen, name, value);
}
static GdkWindow *
GdkWindow *
gdk_x11_display_get_root_window (GdkDisplay *display)
{
return gdk_x11_screen_get_root_window (GDK_X11_DISPLAY (display)->screen);

View File

@ -170,6 +170,8 @@ GdkFilterReturn _gdk_wm_protocols_filter (GdkXEvent *xev,
GdkEvent *event,
gpointer data);
GdkWindow *gdk_x11_display_get_root_window (GdkDisplay *display);
G_END_DECLS
#endif /* __GDK_X11_DISPLAY__ */