]> Pileus Git - ~andy/gtk/commitdiff
Correct the initial event mask of the root window
authorMatthias Clasen <mclasen@redhat.com>
Sun, 6 Sep 2009 06:42:39 +0000 (02:42 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 6 Sep 2009 06:44:24 +0000 (02:44 -0400)
This fixes bug 588455 where the panel stopped responding to Alt-F2 when
setting a transparent background.

gdk/x11/gdkwindow-x11.c

index 82ce21333623cf3440298c33be6562e942a64d16..d664384be400ac3ab8d60c6df01e6ae48cb53aa9 100644 (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,