diff --git a/src/tray/na-tray-child.c b/src/tray/na-tray-child.c index 5502b7e2a..b625ab9c5 100644 --- a/src/tray/na-tray-child.c +++ b/src/tray/na-tray-child.c @@ -283,8 +283,7 @@ na_tray_child_new (GdkScreen *screen, depth = gdk_visual_get_depth (visual); visual_has_alpha = red_prec + blue_prec + green_prec < depth; - child->has_alpha = (visual_has_alpha && - gdk_display_supports_composite (gdk_screen_get_display (screen))); + child->has_alpha = visual_has_alpha; child->composited = child->has_alpha; diff --git a/src/tray/na-tray-manager.c b/src/tray/na-tray-manager.c index dbdfb6614..081170adb 100644 --- a/src/tray/na-tray-manager.c +++ b/src/tray/na-tray-manager.c @@ -618,8 +618,7 @@ na_tray_manager_set_visual_property (NaTrayManager *manager) visual_atom = gdk_x11_get_xatom_by_name_for_display (display, "_NET_SYSTEM_TRAY_VISUAL"); - if (gdk_screen_get_rgba_visual (manager->screen) != NULL && - gdk_display_supports_composite (display)) + if (gdk_screen_get_rgba_visual (manager->screen) != NULL) xvisual = GDK_VISUAL_XVISUAL (gdk_screen_get_rgba_visual (manager->screen)); else {