summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-18 22:24:15 +0100
committerraveit65 <[email protected]>2021-12-19 22:55:27 +0100
commit82cb82b8cdead5d1a50705aca1bdac8ffa91432f (patch)
treef1a0f895c3372847dde1dea9b68052d2b2afde4c
parent0be9b20ee24ca68c6b8cee966b8a7946bdc4a191 (diff)
downloadmate-panel-82cb82b8cdead5d1a50705aca1bdac8ffa91432f.tar.bz2
mate-panel-82cb82b8cdead5d1a50705aca1bdac8ffa91432f.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 477fd101..bb4aa689 100644
--- a/mate-panel/panel-toplevel.c
+++ b/mate-panel/panel-toplevel.c
@@ -2515,7 +2515,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,