Comment 46 for bug 1797417

Revision history for this message
In , Iv-n (iv-n) wrote :

Created attachment 9050
patch that fixes the problem on my machine

> I've hacked systray_manager_set_visual function to use RGBA visual,
> too (what gdk_screen_get_rgba_visual(screen) returns, if that's not NULL)
> -- and I believe this is the right thing to do -- but it confuses systray_socket_new
> which sees that the visual supports alpha channel and thinks we have compositing.

Well, apparently it was me who was confused: it seems that if visual supports alpha channel we actually are compositing, even if it does not happen on screen/wm level. But if so, we should not check that screen is composited in systray_plugin_box_draw, so I removed that check; when this check was present, icons were not drawn at all.

I'm attaching the patch with these two simple changes. Applying it to xfce4-panel 4.14.0 fixed the issue on my machine.