Idea how to make systray icons work correctly

Dennis Kasprzyk onestone at compiz-fusion.org
Sun Oct 19 00:46:47 CEST 2008


Alex Merry wrote:

> On Saturday 18 October 2008 03:59:54 Dennis Kasprzyk wrote:
>> - Use XComposite to redirect the content of the normal systray icon (The
>> window will still be there and get input but won't display anything) -
>> Use QT/XRender to display the icon pixmap (this should even work with the
>> autohide animation if done right) - Use XDamage on the pixmap to get
>> informed about changes of the pixmap to initiate a redraw
> 
> Question: what do you do if we don't have XComposite and/or XDamage?  This
> goes for both compile-time and run-time.
> 
In this case you also don't have a composite manager and you don't need transparent systray icons, and you can fallback to the current system like for systray icons without the _NET_SYSTRAY_ICON pixmap.

Dennis



More information about the Plasma-devel mailing list