Re: [dwm] New client on bottom instead of top

From: Ruben Gonzalez Arnau <rga_AT_sdf.lonestar.org>
Date: Sun, 20 Apr 2008 14:51:22 +0200

On Sun, Apr 20, 2008 at 01:14:39PM +0200, Ruben Gonzalez Arnau wrote:
> On Sun, Apr 20, 2008 at 11:09:52AM +0200, Premysl Hruby wrote:
> > On (20/04/08 05:15), Ruben Gonzalez Arnau wrote:
> > > To: dwm_AT_suckless.org
> > > From: Ruben Gonzalez Arnau <rga_AT_sdf.lonestar.org>
> > > Subject: [dwm] New client on bottom instead of top
> > > Reply-To: dynamic window manager <dwm_AT_suckless.org>
> > > List-Id: dynamic window manager <dwm.suckless.org>
> >
> > Yes, it's attach() :)
> >
> > try something like this:
> >
> > void
> > attach(Client *c) {
> > if (clients) {
> > Client *last;
> > for (last = clients; last->next; last = last->next);
> > last->next = c;
> > c->prev = last;
> > c->next = NULL;
> > }
> > else
> > clients = c;
> > }
> >
> >
> > -Ph
> >
> Hey,
>
> Lot of thanks, this works perfect!!
>
> thank you :)
>
> --
> rga_AT_sdf.lonestar.org
>
> Definitions of hardware and software for dummies:
> Hardware is what you kick;
> Software is what you curse.

Hello again,

It works fine since now the new client goes to bottom instead, but I
have a probelm using MODKEY + enter (zoom function), because it only
works using the bottom client, the top client does nothing and then zoom
does not work, any idea about that?

Anyway, lot of thanks again :)

-- 
rga_AT_sdf.lonestar.org
SCCS, the source motel!  Programs check in and never check out!
		-- Ken Thompson
Received on Sun Apr 20 2008 - 14:51:26 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:34:22 UTC