[Xfce4-commits] r25874 - xfdesktop/branches/xfce_4_2/src
Olivier Fourdan
olivier at xfce.org
Sun Jul 1 16:58:26 CEST 2007
Author: olivier
Date: 2007-07-01 14:58:26 +0000 (Sun, 01 Jul 2007)
New Revision: 25874
Modified:
xfdesktop/branches/xfce_4_2/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/branches/xfce_4_2/src/main.c
===================================================================
--- xfdesktop/branches/xfce_4_2/src/main.c 2007-07-01 14:51:32 UTC (rev 25873)
+++ xfdesktop/branches/xfce_4_2/src/main.c 2007-07-01 14:58:26 UTC (rev 25874)
@@ -161,7 +161,7 @@
{
popup_windowlist(gscreen, button, evt->time);
} else if(button == 3 || (button == 1 && (state & GDK_SHIFT_MASK)))
- popup_desktop_menu(gscreen, button, evt->time);
+ popup_desktop_menu(gscreen, 0, evt->time);
else {
/* forward unused events to the root window, i.e. the window manager */
event_forward_to_rootwin(gtk_widget_get_screen(w), (GdkEvent*)evt);
More information about the Xfce4-commits
mailing list