forked from mirror/dwm
yet another multihead fix by Christof Musik
This commit is contained in:
parent
b1c9f5f144
commit
dee5ea2335
1 changed files with 2 additions and 0 deletions
2
event.c
2
event.c
|
@ -235,6 +235,8 @@ enternotify(XEvent *e) {
|
||||||
else if(ev->window == root) {
|
else if(ev->window == root) {
|
||||||
issel = True;
|
issel = True;
|
||||||
XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
|
XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
|
||||||
|
if(sel)
|
||||||
|
XSetWindowBorder(dpy, sel->win, dc.sel[ColBorder]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue