dwm-meillo

changeset 435:42388f634de0

seems to preserve floating client z-layer order (even with reorder() calls)
author Anselm R. Garbe <arg@10kloc.org>
date Wed, 06 Sep 2006 11:46:35 +0200
parents 265dc4ae3354
children b3659c3c5dab
files client.c config.mk
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/client.c	Wed Sep 06 10:54:10 2006 +0200
     1.2 +++ b/client.c	Wed Sep 06 11:46:35 2006 +0200
     1.3 @@ -99,6 +99,14 @@
     1.4  		}
     1.5  	}
     1.6  	if(c) {
     1.7 +		if((c->isfloat || arrange == dofloat) && (c != clients)) {
     1.8 +			detach(c);
     1.9 +			if(clients) {
    1.10 +				clients->prev = c;
    1.11 +				c->next = clients;
    1.12 +			}
    1.13 +			clients = c;
    1.14 +		}
    1.15  		grabbuttons(c, True);
    1.16  		drawtitle(c);
    1.17  		XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
     2.1 --- a/config.mk	Wed Sep 06 10:54:10 2006 +0200
     2.2 +++ b/config.mk	Wed Sep 06 11:46:35 2006 +0200
     2.3 @@ -1,5 +1,5 @@
     2.4  # dwm version
     2.5 -VERSION = 1.4
     2.6 +VERSION = 1.5
     2.7  
     2.8  # Customize below to fit your system
     2.9