all repos — dwm @ 1529058f27821d50d7a1ea085b6362b6b353b399

my dwm build

applied Hiltjo Posthuma's line saver patch
anselm@garbe.us unknown
Mon, 23 Aug 2010 17:25:53 +0100
commit

1529058f27821d50d7a1ea085b6362b6b353b399

parent

36311d88afc07b61131a165cdc383020b7201d95

1 files changed, 1 insertions(+), 5 deletions(-)

jump to
M dwm.cdwm.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