Browse Source

play safe

config
Anselm R Garbe 15 years ago
parent
commit
21cd59a630
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      dwm.c

+ 2
- 2
dwm.c View File

@ -874,7 +874,7 @@ getmon(Window w) {
return m; return m;
if((c = getclient(w))) if((c = getclient(w)))
return c->mon; return c->mon;
return selmon;
return mons;
} }
Monitor * Monitor *
@ -893,7 +893,7 @@ getmonxy(int x, int y) {
for(m = mons; m; m = m->next) for(m = mons; m; m = m->next)
if(INRECT(x, y, m->wx, m->wy, m->ww, m->wh)) if(INRECT(x, y, m->wx, m->wy, m->ww, m->wh))
return m; return m;
return selmon;
return mons;
} }
Bool Bool


Loading…
Cancel
Save