aewl

diff main.c @ 229:f4f5d000ce7a

implemented NET_ACTIVE_WINDOW support
author Anselm R.Garbe <arg@10ksloc.org>
date Tue, 08 Aug 2006 17:08:45 +0200
parents 770233c1df06
children b92bbc2487c9
line diff
     1.1 --- a/main.c	Tue Aug 08 12:58:05 2006 +0200
     1.2 +++ b/main.c	Tue Aug 08 17:08:45 2006 +0200
     1.3 @@ -201,6 +201,7 @@
     1.4  	wmatom[WMDelete] = XInternAtom(dpy, "WM_DELETE_WINDOW", False);
     1.5  	netatom[NetSupported] = XInternAtom(dpy, "_NET_SUPPORTED", False);
     1.6  	netatom[NetWMName] = XInternAtom(dpy, "_NET_WM_NAME", False);
     1.7 +	netatom[NetActiveWindow] = XInternAtom(dpy, "_NET_ACTIVE_WINDOW", False);
     1.8  	XChangeProperty(dpy, root, netatom[NetSupported], XA_ATOM, 32,
     1.9  			PropModeReplace, (unsigned char *) netatom, NetLast);
    1.10