Re: [dwm] always on top

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Tue, 28 Nov 2006 12:22:34 +0100

On Tue, Nov 28, 2006 at 02:17:15PM +0300, Alexander Polakov wrote:
> * 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...

I think the ion scratchpad is a tag called 'scratch' in dwm (I
call it 'fnord' however).

-- 
 Anselm R. Garbe >< http://suckless.org/~arg/ >< GPG key: 0D73F361
Received on Tue Nov 28 2006 - 12:22:34 UTC

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