Drop gdk_get_default_root_window

This is a trivial convenience function, and it is barely used.
This commit is contained in:
Matthias Clasen 2017-10-31 21:30:59 -04:00
parent 524fcbecfd
commit 67cea50383
3 changed files with 1 additions and 9 deletions

View File

@ -391,7 +391,6 @@ gdk_window_get_decorations
GdkWMDecoration
gdk_window_set_functions
GdkWMFunction
gdk_get_default_root_window
<SUBSECTION>
gdk_window_get_support_multidevice

View File

@ -3375,13 +3375,6 @@ gdk_window_get_device_position (GdkWindow *window,
return window;
}
GdkWindow *
gdk_get_default_root_window (void)
{
return gdk_display_get_root_window (gdk_display_get_default ());
}
static gboolean
gdk_window_raise_internal (GdkWindow *window)
{

View File

@ -592,7 +592,7 @@ gdk_wayland_device_query_state (GdkDevice *device,
GdkWaylandPointerData *pointer;
if (window == NULL)
window = gdk_get_default_root_window ();
window = gdk_display_get_root_window (gdk_device_get_display (device));
pointer = GDK_WAYLAND_DEVICE (device)->pointer;