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

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


Updating branch refs/heads/master
         to 6232a023d65a8862a41423a2859f9d459f90f488 (commit)
       from 975529ef809e1fd8eff0ce689ed2615a531065bf (commit)

commit 6232a023d65a8862a41423a2859f9d459f90f488
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