thotfix - dwm - [fork] customized build of dwm, the dynamic window manager | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit cd96232f7e97726413baeb0d411cc5f537575f0e | |
parent a9e145fe6d8af4848e6706131ac41e99003cd997 | |
Author: Anselm R Garbe <[email protected]> | |
Date: Thu, 2 Jul 2009 20:38:56 +0100 | |
hotfix | |
Diffstat: | |
M dwm.c | 5 +++-- | |
1 file changed, 3 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -625,9 +625,10 @@ Monitor * | |
dirtomon(int dir) { | |
Monitor *m = NULL; | |
- if(dir > 0) | |
+ if(dir > 0) { | |
if(!(m = selmon->next)) | |
m = mons; | |
+ } | |
else { | |
if(selmon == mons) | |
for(m = mons; m->next; m = m->next); | |
t@@ -1521,7 +1522,7 @@ tag(const Arg *arg) { | |
void | |
tagmon(const Arg *arg) { | |
if(!selmon->sel || !mons->next) | |
- return | |
+ return; | |
sendmon(selmon->sel, dirtomon(arg->i)); | |
} | |