tapplied Hiltjo Posthuma's line saver patch - dwm - [fork] customized build of … | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 1529058f27821d50d7a1ea085b6362b6b353b399 | |
parent 36311d88afc07b61131a165cdc383020b7201d95 | |
Author: [email protected] <unknown> | |
Date: Mon, 23 Aug 2010 17:25:53 +0100 | |
applied Hiltjo Posthuma's line saver patch | |
Diffstat: | |
M dwm.c | 6 +----- | |
1 file changed, 1 insertion(+), 5 deletions(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -790,7 +790,6 @@ drawtext(const char *text, unsigned long col[ColLast], Boo… | |
void | |
enternotify(XEvent *e) { | |
- Client *c; | |
Monitor *m; | |
XCrossingEvent *ev = &e->xcrossing; | |
t@@ -800,10 +799,7 @@ enternotify(XEvent *e) { | |
unfocus(selmon->sel, True); | |
selmon = m; | |
} | |
- if((c = wintoclient(ev->window))) | |
- focus(c); | |
- else | |
- focus(NULL); | |
+ focus(wintoclient(ev->window)); | |
} | |
void |