forked from mirror/dwm
deciding for focus(NULL);
This commit is contained in:
parent
ddc79603f9
commit
1e051d71f5
1 changed files with 2 additions and 2 deletions
4
event.c
4
event.c
|
@ -273,9 +273,9 @@ leavenotify(XEvent *e) {
|
||||||
XCrossingEvent *ev = &e->xcrossing;
|
XCrossingEvent *ev = &e->xcrossing;
|
||||||
|
|
||||||
if((ev->window == root) && !ev->same_screen) {
|
if((ev->window == root) && !ev->same_screen) {
|
||||||
issel = False;
|
|
||||||
if(sel)
|
if(sel)
|
||||||
XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]);
|
focus(NULL);
|
||||||
|
issel = False;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue