applied Hiltjo Posthuma's line saver patch
anselm@garbe.us unknown
Mon, 23 Aug 2010 17:25:53 +0100
1 files changed,
1 insertions(+),
5 deletions(-)
jump to
M
dwm.c
→
dwm.c
@@ -790,7 +790,6 @@ }
void enternotify(XEvent *e) { - Client *c; Monitor *m; XCrossingEvent *ev = &e->xcrossing;@@ -800,10 +799,7 @@ if((m = wintomon(ev->window)) && m != selmon) {
unfocus(selmon->sel, True); selmon = m; } - if((c = wintoclient(ev->window))) - focus(c); - else - focus(NULL); + focus(wintoclient(ev->window)); } void