dwm-meillo

diff client.c @ 230:b92bbc2487c9

removed NET_ACTIVE_WINDOW handling
author Anselm R.Garbe <arg@10ksloc.org>
date Tue, 08 Aug 2006 18:12:18 +0200
parents f4f5d000ce7a
children 98e9901b1dbb
line diff
     1.1 --- a/client.c	Tue Aug 08 17:08:45 2006 +0200
     1.2 +++ b/client.c	Tue Aug 08 18:12:18 2006 +0200
     1.3 @@ -58,8 +58,6 @@
     1.4  	drawtitle(c);
     1.5  	XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
     1.6  	XSync(dpy, False);
     1.7 -	XChangeProperty(dpy, root, netatom[NetActiveWindow], XA_WINDOW, 32,
     1.8 -			PropModeReplace, (unsigned char *)&c->win, 1);
     1.9  	while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
    1.10  }
    1.11  
    1.12 @@ -461,9 +459,6 @@
    1.13  	arrange(NULL);
    1.14  	if(sel)
    1.15  		focus(sel);
    1.16 -	else
    1.17 -		XChangeProperty(dpy, root, netatom[NetActiveWindow], XA_WINDOW, 32,
    1.18 -				PropModeReplace, (unsigned char *)NULL, 1);
    1.19  }
    1.20  
    1.21  void