summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-04-19 21:00:33 +0200
committerraveit65 <[email protected]>2018-04-23 12:18:28 +0200
commitcbdb7a568faea246062b02804e62998da8dbc555 (patch)
treebbc700e6dcd3f19ce8fc536e12f42a30c223ca20
parent37ae83266418265ec3e124e7a50187f00ee43b4f (diff)
downloadmate-panel-cbdb7a568faea246062b02804e62998da8dbc555.tar.bz2
mate-panel-cbdb7a568faea246062b02804e62998da8dbc555.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;