implemented NET_ACTIVE_WINDOW support

This commit is contained in:
Anselm R.Garbe
2006-08-08 17:08:45 +02:00
parent c86f131681
commit 92e55c7c53
4 changed files with 20 additions and 1 deletions

1
main.c
View File

@ -201,6 +201,7 @@ main(int argc, char *argv[])
wmatom[WMDelete] = XInternAtom(dpy, "WM_DELETE_WINDOW", False);
netatom[NetSupported] = XInternAtom(dpy, "_NET_SUPPORTED", False);
netatom[NetWMName] = XInternAtom(dpy, "_NET_WM_NAME", False);
netatom[NetActiveWindow] = XInternAtom(dpy, "_NET_ACTIVE_WINDOW", False);
XChangeProperty(dpy, root, netatom[NetSupported], XA_ATOM, 32,
PropModeReplace, (unsigned char *) netatom, NetLast);