1
0
mirror of git://git.suckless.org/dwm synced 2024-12-09 08:51:11 +00:00

leavenotify also don't needs the check

This commit is contained in:
Anselm R. Garbe 2007-01-19 15:05:07 +01:00
parent 1e051d71f5
commit 201c56f6d3

View File

@ -234,8 +234,6 @@ enternotify(XEvent *e) {
focus(c);
else if(ev->window == root) {
issel = True;
XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
if(sel)
focus(sel);
}
}
@ -273,7 +271,6 @@ leavenotify(XEvent *e) {
XCrossingEvent *ev = &e->xcrossing;
if((ev->window == root) && !ev->same_screen) {
if(sel)
focus(NULL);
issel = False;
}