Re: Root win
Posted by Sven Gothel on Jan 11, 2011; 2:45am
URL: https://forum.jogamp.org/Root-win-tp2219141p2232216.html
On Sunday, January 09, 2011 00:46:29 jdp [via jogamp] wrote:
>
> Hi,
>
> Too bad it's not possible to draw into the root window -- desktop
> background. As for a wallpaper.
Understood.
well, what one usually does is to 'replace' or draw to the root window,
using the windowmanager - as mentioned in this thread here.
you would need to use the root window as a parent,
and/or use it directly.
The latter might be restricted by your windowmanager (X11 and Win32..),
the former might need special attention/communication with the windowmanager
like replace desktop window .. etc.
I believe the solution is the former, ie use the root window as parent
and utilize some 'magic' windowmanager atom's and render transparent.
If you figure these things out for at least one platform,
sure we can add it NEWT.
Lately we added proper fullscreen window support which involves the above
mentioned windowmanager attention as well (for both, X11 and Win32).
Next on the NEWT feature list is transparency using the compositioning windowmanager,
ie Win7 and KDE/Gnome ..
~Sven