Mercurial > dwm-meillo
comparison 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 |
comparison
equal
deleted
inserted
replaced
229:f4f5d000ce7a | 230:b92bbc2487c9 |
---|---|
56 if(old && old != c) | 56 if(old && old != c) |
57 drawtitle(old); | 57 drawtitle(old); |
58 drawtitle(c); | 58 drawtitle(c); |
59 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); | 59 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); |
60 XSync(dpy, False); | 60 XSync(dpy, False); |
61 XChangeProperty(dpy, root, netatom[NetActiveWindow], XA_WINDOW, 32, | |
62 PropModeReplace, (unsigned char *)&c->win, 1); | |
63 while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); | 61 while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); |
64 } | 62 } |
65 | 63 |
66 void | 64 void |
67 focusnext(Arg *arg) | 65 focusnext(Arg *arg) |
459 XSetErrorHandler(xerror); | 457 XSetErrorHandler(xerror); |
460 XUngrabServer(dpy); | 458 XUngrabServer(dpy); |
461 arrange(NULL); | 459 arrange(NULL); |
462 if(sel) | 460 if(sel) |
463 focus(sel); | 461 focus(sel); |
464 else | |
465 XChangeProperty(dpy, root, netatom[NetActiveWindow], XA_WINDOW, 32, | |
466 PropModeReplace, (unsigned char *)NULL, 1); | |
467 } | 462 } |
468 | 463 |
469 void | 464 void |
470 zoom(Arg *arg) | 465 zoom(Arg *arg) |
471 { | 466 { |