pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36311d8
)
applied Hiltjo Posthuma's line saver patch
author
anselm@garbe.us
<unknown>
Mon, 23 Aug 2010 16:25:53 +0000
(17:25 +0100)
committer
anselm@garbe.us
<unknown>
Mon, 23 Aug 2010 16:25:53 +0000
(17:25 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
438b9e7
..
4b43a18
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-790,7
+790,6
@@
drawtext(const char *text, unsigned long col[ColLast], Bool invert) {
void
enternotify(XEvent *e) {
- Client *c;
Monitor *m;
XCrossingEvent *ev = &e->xcrossing;
@@
-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