win32: Make gdk_win32_display_get_root_window available

This will be used to replace the equivalent frontend api,
which is going away.
This commit is contained in:
Matthias Clasen 2017-11-05 20:45:49 -05:00
parent f80a90d39a
commit be75984485
2 changed files with 2 additions and 1 deletions

View File

@ -1225,7 +1225,7 @@ gdk_win32_display_get_setting (GdkDisplay *display,
value);
}
static GdkWindow *
GdkWindow *
gdk_win32_display_get_root_window (GdkDisplay *display)
{
return gdk_win32_screen_get_root_window (GDK_WIN32_DISPLAY (display)->screen);

View File

@ -496,6 +496,7 @@ void _gdk_win32_window_delete_property (GdkWindow *window, GdkAtom property);
gboolean _gdk_win32_screen_get_setting (GdkScreen *screen, const gchar *name, GValue *value);
void _gdk_win32_screen_on_displaychange_event (GdkWin32Screen *screen);
GdkWindow *gdk_win32_screen_get_root_window (GdkScreen *screen);
GdkWindow *gdk_win32_display_get_root_window (GdkDisplay *display);
/* Distributed display manager implementation */
GdkDisplay *_gdk_win32_display_open (const gchar *display_name);