about summary refs log tree commit diff stats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2009-06-30 15:56:32 +0100
committerAnselm R Garbe <garbeam@gmail.com>2009-06-30 15:56:32 +0100
commit21cd59a6307ae041ed91098e06d49b3e9036cbea (patch)
tree0c8b1289235e082eff9269b19749b672219f5c13 /dwm.c
parent6cbe47d4814f1341a5230e21c205a18591d43f6f (diff)
downloaddwm-21cd59a6307ae041ed91098e06d49b3e9036cbea.tar.gz
play safe
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index c7fd99b..29c7b64 100644
--- a/dwm.c
+++ b/dwm.c
@@ -874,7 +874,7 @@ getmon(Window w) {
 			return m;
 	if((c = getclient(w)))
 		return c->mon;
-	return selmon;
+	return mons;
 }
 
 Monitor *
@@ -893,7 +893,7 @@ getmonxy(int x, int y) {
 	for(m = mons; m; m = m->next)
 		if(INRECT(x, y, m->wx, m->wy, m->ww, m->wh))
 			return m;
-	return selmon;
+	return mons;
 }
 
 Bool
it/worker/worker.go?h=0.5.2&id=a0be5e80256b98237241b2f3d7825484e7a9c964'>a0be5e8 ^
b5d5e0d ^

9ef2a57 ^
2dc4365 ^





1265d9c ^

b5d5e0d ^
d24e471 ^


b5d5e0d ^
d24e471 ^
6394e38 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34