[hackers] [dwm] play safe || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Tue, 30 Jun 2009 14:56:37 +0000 (UTC)

changeset: 1429:a6f93a5772b2
tag: tip
user: Anselm R Garbe <garbeam_AT_gmail.com>
date: Tue Jun 30 15:56:32 2009 +0100
files: dwm.c
description:
play safe

diff -r 2245e2b88983 -r a6f93a5772b2 dwm.c
--- a/dwm.c Tue Jun 30 15:51:09 2009 +0100
+++ b/dwm.c Tue Jun 30 15:56:32 2009 +0100
@@ -874,7 +874,7 @@
                         return m;
         if((c = getclient(w)))
                 return c->mon;
- return selmon;
+ return mons;
 }
 
 Monitor *
@@ -893,7 +893,7 @@
         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
Received on Tue Jun 30 2009 - 14:56:37 UTC

This archive was generated by hypermail 2.2.0 : Tue Jun 30 2009 - 15:00:07 UTC