summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorOlivier Fourdan <fourdan.olivier@wanadoo.fr>2007-07-01 15:04:05 +0000
committerOlivier Fourdan <fourdan.olivier@wanadoo.fr>2007-07-01 15:04:05 +0000
commit917cf30616e0d384f23dd95f6bc5318a8ac27198 (patch)
tree795a360b5e80dc0a2f62a6ae620b307405f1bab3 /src/main.c
parent0a2d915e4cff4e7cbc258dfb63fb5bf0fd401ccd (diff)
downloadxfdesktop-917cf30616e0d384f23dd95f6bc5318a8ac27198.tar.gz
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)
(Old svn revision: 25875)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 8f10daaa..d5005ed6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -182,7 +182,7 @@ button_cb(GtkWidget *w, GdkEventButton *evt, gpointer user_data)
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;
}
}