From 21cd59a6307ae041ed91098e06d49b3e9036cbea Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Tue, 30 Jun 2009 15:56:32 +0100 Subject: play safe --- dwm.c | 4 ++-- 1 file 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 -- cgit 1.4.1-2-gfad0