[Xfce4-commits] <xfwm4:xfce-4.8> Fix bug #7300, allow menu shortcut to work even for non-decorated windows

Olivier Fourdan noreply at xfce.org
Mon Apr 11 09:42:01 CEST 2011


Updating branch refs/heads/xfce-4.8
         to 3d6fe6bba71a24428513ff89472c3318f8061b6b (commit)
       from 3f107d6e1f2fc6df1a3fdad3b43074be3b78d3f3 (commit)

commit 3d6fe6bba71a24428513ff89472c3318f8061b6b
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Fri Feb 18 10:01:58 2011 +0100

    Fix bug #7300, allow menu shortcut to work even for non-decorated windows

 src/events.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/events.c b/src/events.c
index eb92c58..f3aadcf 100644
--- a/src/events.c
+++ b/src/events.c
@@ -2507,7 +2507,7 @@ show_window_menu (Client *c, gint px, gint py, guint button, guint32 timestamp)
         return;
     }
 
-    if (!c || !FLAG_TEST_ALL (c->xfwm_flags, XFWM_FLAG_HAS_BORDER | XFWM_FLAG_VISIBLE))
+    if (!c || !FLAG_TEST_ALL (c->xfwm_flags, XFWM_FLAG_HAS_MENU | XFWM_FLAG_VISIBLE))
     {
         return;
     }



More information about the Xfce4-commits mailing list