Commit a8954517 authored by Gaël Bonithon's avatar Gaël Bonithon
Browse files

systray: Do not require compositing to be enabled to use RGBA visual

See #251 (comment 49605)

Amends: 87c609e7
parent 78534365
Pipeline #15518 passed with stages
in 4 minutes and 28 seconds
......@@ -798,7 +798,13 @@ systray_manager_set_visual (SystrayManager *manager)
visual = gdk_screen_get_rgba_visual (screen);
panel_debug (PANEL_DEBUG_SYSTRAY, "rgba visual is %p", visual);
if (visual != NULL && gdk_screen_is_composited (screen))
* We do not require compositing to be enabled here, unlike other occurrences
* of this test in the code, as this minimizes icon rendering problems.
* See
if (visual != NULL)
/* use the rgba visual */
xvisual = GDK_VISUAL_XVISUAL (visual);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment