pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cbe47d
)
play safe
author
Anselm R Garbe
<garbeam@gmail.com>
Tue, 30 Jun 2009 14:56:32 +0000
(15:56 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Tue, 30 Jun 2009 14:56:32 +0000
(15:56 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
c7fd99b
..
29c7b64
100644
(file)
--- 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