[Xfce4-commits] [xfce/xfce4-panel] 11/12: Fix panel hiding (intelligently) with open menus
noreply at xfce.org
noreply at xfce.org
Mon Feb 27 22:51:52 CET 2017
This is an automated email from the git hooks/post-receive script.
ochosi pushed a commit to branch master
in repository xfce/xfce4-panel.
commit 95b481199e07923da0aa6cdf23e883614a061c28
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Mon Feb 27 21:16:30 2017 +0100
Fix panel hiding (intelligently) with open menus
---
panel/panel-window.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/panel/panel-window.c b/panel/panel-window.c
index f3a7084..a8723a0 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -2251,7 +2251,8 @@ panel_window_active_window_geometry_changed (WnckWindow *active_window,
/* only react to active window geometry changes if we are doing
* intelligent autohiding */
- if (window->autohide_behavior == AUTOHIDE_BEHAVIOR_INTELLIGENTLY)
+ if (window->autohide_behavior == AUTOHIDE_BEHAVIOR_INTELLIGENTLY
+ && window->autohide_block == 0)
{
if (wnck_window_get_window_type (active_window) != WNCK_WINDOW_DESKTOP)
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list