summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authoranselm@garbe.us <unknown>2010-08-23 17:25:53 +0100
committeranselm@garbe.us <unknown>2010-08-23 17:25:53 +0100
commit1529058f27821d50d7a1ea085b6362b6b353b399 (patch)
treeb335b90ce1399abf3889e38e9bc21144d4c577f8 /dwm.c
parentapplied Hiltjo Posthuma's double-XineramaQueryScreens() patch, thanks Hiltjo! (diff)
downloaddwm-1529058f27821d50d7a1ea085b6362b6b353b399.tar.gz
dwm-1529058f27821d50d7a1ea085b6362b6b353b399.zip
applied Hiltjo Posthuma's line saver patch
Diffstat (limited to '')
-rw-r--r--dwm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/dwm.c b/dwm.c
index 438b9e7..4b43a18 100644
--- a/dwm.c
+++ b/dwm.c
@@ -790,7 +790,6 @@ drawtext(const char *text, unsigned long col[ColLast], Bool invert) {
790 790
791void 791void
792enternotify(XEvent *e) { 792enternotify(XEvent *e) {
793 Client *c;
794 Monitor *m; 793 Monitor *m;
795 XCrossingEvent *ev = &e->xcrossing; 794 XCrossingEvent *ev = &e->xcrossing;
796 795
@@ -800,10 +799,7 @@ enternotify(XEvent *e) {
800 unfocus(selmon->sel, True); 799 unfocus(selmon->sel, True);
801 selmon = m; 800 selmon = m;
802 } 801 }
803 if((c = wintoclient(ev->window))) 802 focus(wintoclient(ev->window));
804 focus(c);
805 else
806 focus(NULL);
807} 803}
808 804
809void 805void