mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Drop gdk_get_default_root_window
This is a trivial convenience function, and it is barely used.
This commit is contained in:
parent
524fcbecfd
commit
67cea50383
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user