summaryrefslogtreecommitdiff
path: root/mate-panel/panel-background.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/panel-background.c')
-rw-r--r--mate-panel/panel-background.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c
index d346a4f2..29e963ae 100644
--- a/mate-panel/panel-background.c
+++ b/mate-panel/panel-background.c
@@ -554,7 +554,13 @@ panel_background_composite (PanelBackground *background)
break;
}
+#if GTK_CHECK_VERSION (3, 18, 0)
+ /* FIXME, Hack, panel user background fix for gtk+-3.18+ */
+ /* this is actually WRONG but fixes rendering of user selected color BG */
+ background->composited = FALSE;
+#else
background->composited = TRUE;
+#endif
panel_background_prepare (background);