On the ewmh branch (https://code.launchpad.net/~rhialto/ctwm/ewmh) I've just added code to support Desktop and Dock windows in a limited way. (EWMH = Extended Window Manager Hints, see http://standards.freedesktop.org/wm-spec/wm-spec-1.5.html )
If you use Ctwm with, say, Xubuntu, the Desktop window (that's the one
that has the file and directory icons on it) is now automatically at the
lowest priority, and has no title and border. (You can replace *buntu's
wm with "ctwm --replace &")
However, this limits access to your key/mouse bindings on the Root
window. If you have a binding to move or iconify a window without
needing a window border
(I use this:
DontShowWelcomeWindow
Function "move-or-lower" { f.move f.deltastop f.lower }
"i" = m4 : window|title|icon : f.iconify
Button1 = m4 : window|icon : f.function "move-or-lower"
)
then you can get the Desktop window out of the way and access the root
window and its bindings.
That's however "a bit" inconvenient. I was trying some other kludge to
treat a Desktop window much like the Root window, for purposes of
bindings. It doesn't work so well, so if you want to try it you'll have
to find and uncomment /* #define EWMH_DESKTOP_ROOT */.
I'm hoping to get some input on how to do this better. Hopefully some of
you can try it and offer suggestions.
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl -- 'this bath is too hot.'
pgpDbKScJGyFA.pgp
Description: PGP signature
