x11: Consolidate root window event setting in one place

No need to duplicate things in xsettings code.
This commit is contained in:
Benjamin Otte
2013-02-15 18:20:18 +01:00
parent 9ed7e883f2
commit ed38dbe28f
2 changed files with 1 additions and 15 deletions

View File

@ -1095,6 +1095,7 @@ init_randr_support (GdkScreen *screen)
{
GdkX11Screen *x11_screen = GDK_X11_SCREEN (screen);
/* NB: This is also needed for XSettings, so don't remove. */
XSelectInput (GDK_SCREEN_XDISPLAY (screen),
x11_screen->xroot_window,
StructureNotifyMask);