mirror of git://git.suckless.org/dwm
deciding for focus(NULL);
This commit is contained in:
parent
ddc79603f9
commit
1e051d71f5
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 New Issue