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