[Xfce4-commits] r23331 - xfwm4/trunk/src
Olivier Fourdan
olivier at xfce.org
Mon Oct 9 20:58:39 UTC 2006
Author: olivier
Date: 2006-10-09 20:58:37 +0000 (Mon, 09 Oct 2006)
New Revision: 23331
Modified:
xfwm4/trunk/src/events.c
Log:
Placement of the menu when open with the key shortcut.
Modified: xfwm4/trunk/src/events.c
===================================================================
--- xfwm4/trunk/src/events.c 2006-10-09 20:21:48 UTC (rev 23330)
+++ xfwm4/trunk/src/events.c 2006-10-09 20:58:37 UTC (rev 23331)
@@ -478,7 +478,9 @@
the keyboard in gtk menu otherwise we end with a dead lock...
*/
XAllowEvents (display_info->dpy, AsyncKeyboard, CurrentTime);
- show_window_menu (c, frameX(c), frameY(c), 1, GDK_CURRENT_TIME);
+ show_window_menu (c, frameX (c) + frameLeft (c),
+ frameY (c) + frameTop (c),
+ Button1, GDK_CURRENT_TIME);
/* 'nuff for now */
return;
More information about the Xfce4-commits
mailing list