On a modern desktop system, you should probably use window manager hints
to perform this function, and let the window manager do the rest.
http://freedesktop.org/standards/wm-spec/1.3/
For example, using NET_WM_STATE you can specify that your application's
window should be NET_WM_STATE_ABOVE. You might also investigate using
NET_WM_TYPE NET_WM_TYPE_DOCK.
To me this is all theory, because I've never tried to write an
application like xbattbar...
Jeff
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel