applied Hiltjo Posthuma's line saver patch 1529058f
anselm@garbe.us · 2010-08-23 17:25 1 file(s) · +1 −5
dwm.c +1 −5
790 790
791 791
void
792 792
enternotify(XEvent *e) {
793 -
	Client *c;
794 793
	Monitor *m;
795 794
	XCrossingEvent *ev = &e->xcrossing;
796 795
800 799
		unfocus(selmon->sel, True);
801 800
		selmon = m;
802 801
	}
803 -
	if((c = wintoclient(ev->window)))
804 -
		focus(c);
805 -
	else
806 -
		focus(NULL);
802 +
	focus(wintoclient(ev->window));
807 803
}
808 804
809 805
void