Author: olivier
Date: 2008-06-25 11:57:37 +0000 (Wed, 25 Jun 2008)
New Revision: 27147

Modified:
   xfwm4/trunk/src/events.c
Log:
Release events prior to opening the gtk menu to avoid a deadlock

Modified: xfwm4/trunk/src/events.c
===================================================================
--- xfwm4/trunk/src/events.c    2008-06-25 08:39:59 UTC (rev 27146)
+++ xfwm4/trunk/src/events.c    2008-06-25 11:57:37 UTC (rev 27147)
@@ -425,6 +425,7 @@
                 }
                 break;
             case KEY_POPUP_MENU:
+                XAllowEvents (display_info->dpy, SyncKeyboard, CurrentTime);
                 show_window_menu (c, frameX (c) + frameLeft (c),
                                      frameY (c) + frameTop (c),
                                      Button1, GDK_CURRENT_TIME);

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to