xfdesktop

Jasper Huijsmans jasper at xfce.org
Wed Dec 21 22:12:05 CET 2005


Jannis Pohlmann schreef:
> Jasper Huijsmans schrieb:
>> Aaron schreef:
>>
>>> does anyone know why xfdesktop chooses to draw to a window infront of
>>> the root window, and not directly onto the root window? this makes
>>> conky and other programs that want to draw to the root window really
>>> unhappy, and seems kinda odd in general. just like to hear the reason
>>> why not using the root window was chosen.
>>>
>>
>> Much easier to program. Allows easy event handling through gtk for the 
>> menus. It was also done with the idea to make it easy to add desktop 
>> icons at a later time. It's not as uncommon as you may think, both GNOME 
>> and KDE use this approach for their desktop handling.
>>
> 
> Do you know whether it is possible to draw stuff upon that? I've
> recently tried out some note taking apps which try this, but none of
> them could satisfy me, so I'll try writing my own (using pyxfce) - any
> chances to draw upon xfdesktop without making the items behave like
> normal top-level windows or dialogs?
> 

I believe things like torsmo do this (xfdesktop sets an X property for 
the desktop window), but I'm not sure it works 100% of the time. IIRC, 
there can be problems with refreshing.

	Jasper



More information about the Xfce4-dev mailing list