diff options
author | Anselm R Garbe <garbeam@gmail.com> | 2009-06-30 15:56:32 +0100 |
---|---|---|
committer | Anselm R Garbe <garbeam@gmail.com> | 2009-06-30 15:56:32 +0100 |
commit | 21cd59a6307ae041ed91098e06d49b3e9036cbea (patch) | |
tree | 0c8b1289235e082eff9269b19749b672219f5c13 | |
parent | 6cbe47d4814f1341a5230e21c205a18591d43f6f (diff) | |
download | dwm-21cd59a6307ae041ed91098e06d49b3e9036cbea.tar.gz |
play safe
-rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |