# HG changeset patch # User anselm@garbe.us # Date 1282580753 -3600 # Node ID 26f81e0f1eb33f530417cf0f799d315ac955dd10 # Parent 0d86faf4b05c95384ba0c78649b7161b4323b459 applied Hiltjo Posthuma's line saver patch diff -r 0d86faf4b05c -r 26f81e0f1eb3 dwm.c --- a/dwm.c Sun Jul 25 09:58:25 2010 +0100 +++ b/dwm.c Mon Aug 23 17:25:53 2010 +0100 @@ -790,7 +790,6 @@ void enternotify(XEvent *e) { - Client *c; Monitor *m; XCrossingEvent *ev = &e->xcrossing; @@ -800,10 +799,7 @@ unfocus(selmon->sel, True); selmon = m; } - if((c = wintoclient(ev->window))) - focus(c); - else - focus(NULL); + focus(wintoclient(ev->window)); } void