x11: Reduce uses of the root window
authorMatthias Clasen <mclasen@redhat.com>
Thu, 9 Nov 2017 23:40:16 +0000 (18:40 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 10 Nov 2017 03:52:37 +0000 (22:52 -0500)
commitbdb442be21471a91820219347b1345ed7b84d034
treed13bb6f7ea44ab942d4d9dfa7c3c5a1085bb8223
parent2aa52c7d0083f39615f33f663f247dc3fe2e23df
x11: Reduce uses of the root window

Avoid calling the get_root_window api that returns
a GdkWindow in some places, and instead use the X
root window directly.
gdk/x11/gdkcursor-x11.c
gdk/x11/gdkdevice-core-x11.c
gdk/x11/gdkdevice-xi2.c
gdk/x11/gdkdevicemanager-xi2.c
gdk/x11/gdkdnd-x11.c
gdk/x11/gdkeventsource.c
gdk/x11/gdkprivate-x11.h
gdk/x11/gdkproperty-x11.c
gdk/x11/gdkscreen-x11.c
gdk/x11/gdkwindow-x11.c