|
|
@ -22,8 +22,8 @@ |
|
|
|
*/ |
|
|
|
#include <errno.h> |
|
|
|
#include <locale.h> |
|
|
|
#include <stdarg.h> |
|
|
|
#include <signal.h> |
|
|
|
#include <stdarg.h> |
|
|
|
#include <stdbool.h> |
|
|
|
#include <stdio.h> |
|
|
|
#include <stdlib.h> |
|
|
@ -1435,8 +1435,8 @@ setfocus(Client *c) { |
|
|
|
if(!c->neverfocus) { |
|
|
|
XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); |
|
|
|
XChangeProperty(dpy, root, netatom[NetActiveWindow], |
|
|
|
XA_WINDOW, 32, PropModeReplace, |
|
|
|
(unsigned char *) &(c->win), 1); |
|
|
|
XA_WINDOW, 32, PropModeReplace, |
|
|
|
(unsigned char *) &(c->win), 1); |
|
|
|
} |
|
|
|
sendevent(c, wmatom[WMTakeFocus]); |
|
|
|
} |
|
|
|