summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-04-19 21:00:33 +0200
committermonsta <[email protected]>2018-04-25 17:20:25 +0300
commitdcd4db784ae6dce78ef9ec353c3aab8eb2b639cb (patch)
tree5394981cb97c03ff9307b39fa949f9c690547d86
parent4437af31ff82629c18f53f6f4c38430547378af9 (diff)
downloadmate-panel-dcd4db784ae6dce78ef9ec353c3aab8eb2b639cb.tar.bz2
mate-panel-dcd4db784ae6dce78ef9ec353c3aab8eb2b639cb.tar.xz
Revert "panel-toplevel: Remove pointer boundary check in panel_toplevel_queue_auto_hide()"
This reverts commit 0d29acf6a70090ee771de2793b1af8e1388a430f. Which causes a regression. Fixes https://github.com/mate-desktop/mate-panel/issues/773
-rw-r--r--mate-panel/panel-toplevel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mate-panel/panel-toplevel.c b/mate-panel/panel-toplevel.c
index 4724958f..326e6c5c 100644
--- a/mate-panel/panel-toplevel.c
+++ b/mate-panel/panel-toplevel.c
@@ -3847,6 +3847,7 @@ panel_toplevel_queue_auto_hide (PanelToplevel *toplevel)
g_return_if_fail (PANEL_IS_TOPLEVEL (toplevel));
if (!toplevel->priv->auto_hide ||
+ panel_toplevel_contains_pointer (toplevel) ||
panel_toplevel_get_autohide_disabled (toplevel))
return;