[Xfce4-commits] r25875 - xfdesktop/trunk/src

Olivier Fourdan olivier at xfce.org
Sun Jul 1 17:04:05 CEST 2007


Author: olivier
Date: 2007-07-01 15:04:05 +0000 (Sun, 01 Jul 2007)
New Revision: 25875

Modified:
   xfdesktop/trunk/src/main.c
Log:
Always use button 0 in gtk_menu_popup() as GTK+ 2.11+ expects the same button to be pressed or it doesn't activate the entry (Bug #3359)

Modified: xfdesktop/trunk/src/main.c
===================================================================
--- xfdesktop/trunk/src/main.c	2007-07-01 14:58:26 UTC (rev 25874)
+++ xfdesktop/trunk/src/main.c	2007-07-01 15:04:05 UTC (rev 25875)
@@ -182,7 +182,7 @@
             popup_windowlist(gscreen, button, evt->time);
             return TRUE;
         } else if(button == 3 || (button == 1 && (state & GDK_SHIFT_MASK))) {
-            popup_desktop_menu(gscreen, button, evt->time);
+            popup_desktop_menu(gscreen, 0, evt->time);
             return TRUE;
         }
     }



More information about the Xfce4-commits mailing list