summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-04-19 21:00:33 +0200
committerraveit65 <[email protected]>2018-04-22 15:45:49 +0200
commitb060d2a6a81ea29efaf59ceafccc462ad7e7d9e2 (patch)
treebbfd923451d31a1f6814ac32e5d3d916127aa5b6
parent86701517e7d7cb3d2c08a40d76af97308f18902c (diff)
downloadmate-panel-b060d2a6a81ea29efaf59ceafccc462ad7e7d9e2.tar.bz2
mate-panel-b060d2a6a81ea29efaf59ceafccc462ad7e7d9e2.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 25daa697..e9d9fe48 100644
--- a/mate-panel/panel-toplevel.c
+++ b/mate-panel/panel-toplevel.c
@@ -3805,6 +3805,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;