applied Hiltjo Posthuma's line saver patch
This commit is contained in:
parent
36311d88af
commit
1529058f27
1 changed files with 1 additions and 5 deletions
6
dwm.c
6
dwm.c
|
@ -790,7 +790,6 @@ drawtext(const char *text, unsigned long col[ColLast], Bool invert) {
|
||||||
|
|
||||||
void
|
void
|
||||||
enternotify(XEvent *e) {
|
enternotify(XEvent *e) {
|
||||||
Client *c;
|
|
||||||
Monitor *m;
|
Monitor *m;
|
||||||
XCrossingEvent *ev = &e->xcrossing;
|
XCrossingEvent *ev = &e->xcrossing;
|
||||||
|
|
||||||
|
@ -800,10 +799,7 @@ enternotify(XEvent *e) {
|
||||||
unfocus(selmon->sel, True);
|
unfocus(selmon->sel, True);
|
||||||
selmon = m;
|
selmon = m;
|
||||||
}
|
}
|
||||||
if((c = wintoclient(ev->window)))
|
focus(wintoclient(ev->window));
|
||||||
focus(c);
|
|
||||||
else
|
|
||||||
focus(NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue