Re: [dwm] always on top

From: Alexander Polakov <polachok_AT_gmail.com>
Date: Tue, 28 Nov 2006 14:17:15 +0300

* Anselm R. Garbe <arg_AT_suckless.org> [061128 14:13]:
> 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.
>
> Regards,
> --
> Anselm R. Garbe >< http://suckless.org/~arg/ >< GPG key: 0D73F361

And what do you think about ion-like scratchpad? It looks useable...

-- 
Alexander Polakov | http://polachok.livejournal.com
Received on Tue Nov 28 2006 - 12:17:53 UTC

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