summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-18 22:24:15 +0100
committerraveit65 <[email protected]>2021-12-19 19:37:38 +0100
commit79a8279c52e3d0b66985cbbeaeb88bae1522c4c2 (patch)
treedc1d1a36db29084f4c9fbe57ed464ee97cfa3470
parent8a380c3e9af91a726b8ed45ccf9ef64911540595 (diff)
downloadmate-panel-79a8279c52e3d0b66985cbbeaeb88bae1522c4c2.tar.bz2
mate-panel-79a8279c52e3d0b66985cbbeaeb88bae1522c4c2.tar.xz
panel-toplevel: fix the computed dimension for (non) auto hidden panels
-rw-r--r--mate-panel/panel-toplevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel-toplevel.c b/mate-panel/panel-toplevel.c
index beb39e08..512bcbea 100644
--- a/mate-panel/panel-toplevel.c
+++ b/mate-panel/panel-toplevel.c
@@ -2514,7 +2514,7 @@ panel_toplevel_update_geometry (PanelToplevel *toplevel,
#ifdef HAVE_X11
if (GDK_IS_X11_DISPLAY (gtk_widget_get_display (GTK_WIDGET (toplevel)))) {
if (toplevel->priv->state == PANEL_STATE_NORMAL ||
- toplevel->priv->state == PANEL_STATE_AUTO_HIDDEN) {
+ toplevel->priv->state != PANEL_STATE_AUTO_HIDDEN) {
panel_struts_update_toplevel_geometry (toplevel,
&toplevel->priv->geometry.x,
&toplevel->priv->geometry.y,