Re: [dwm] always on top

From: Anselm R. Garbe <>
Date: Tue, 28 Nov 2006 08:04:17 +0100

On Tue, Nov 28, 2006 at 05:57:33AM +0300, dmtry wrote:
> i'm not a programmer, but dwm is very useful for me.
> Please help, how i may do some windows in float mode always on top?
> may be you know ready patch for this?

I think there is no patch. You could extend Client with 'Bool
ontop' and extend dofloat() in the loop with:

if(c->ontop) {
        XRaiseWindow(dpy, c->win);
        XRaiseWindow(dpy, c->twin);

You may want extend Rule as well to define specific
classes/instances of clients on top or a toggle function.

But note, I don't see any use for it, so don't expect such
behavior in mainstream dwm.


 Anselm R. Garbe >< >< GPG key: 0D73F361
Received on Tue Nov 28 2006 - 08:04:17 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:32:53 UTC