Correct the initial event mask of the root window

This fixes bug 588455 where the panel stopped responding to Alt-F2 when
setting a transparent background.
This commit is contained in:
Matthias Clasen 2009-09-06 02:42:39 -04:00
parent d0051a46f7
commit da00e171e7

View File

@ -455,6 +455,10 @@ _gdk_windowing_window_init (GdkScreen * screen)
private->width = WidthOfScreen (screen_x11->xscreen);
private->height = HeightOfScreen (screen_x11->xscreen);
private->viewable = TRUE;
/* see init_randr_support() in gdkscreen-x11.c */
private->event_mask = GDK_STRUCTURE_MASK;
_gdk_window_update_size (screen_x11->root_window);
_gdk_xid_table_insert (screen_x11->display,