On 9/5/06, Sander van Dijk <a.h.vandijk_AT_gmail.com> wrote:
> guess it would be better if dwm would only make sure that _all_
> floating clients are above _all_ tiled clients, and leave the
> z-ordering between the floating clients alone (except for putting the
> newly focused one on top if it's a floating one of course), but
> looking at restack() I see no easy way to do that so far...
Well actually, it might be just as simple as this:
void restack() {
Client *c;
if(!sel)
return;
if(sel->isfloat || arrange == dofloat)
RAISE(sel);
if(arrange != dofloat)
for(c = getnext(clients); c; c = getnext(c->next))
if(!c->isfloat)
LOWER(c);
}
That might just do the trick (and if it does, it'll also make
restack() a bit simpler).
Greetings, Sander.
Received on Tue Sep 05 2006 - 23:27:22 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:55 UTC