Re: [dwm] found a nice way to do the setgeom stuff

From: yy <yiyu.jgl_AT_gmail.com>
Date: Wed, 19 Mar 2008 11:40:03 +0100

2008/3/19, Szabolcs Nagy <nszabolcs_AT_gmail.com>:
> what's wrong with
>
> void growm(const char *arg) {
> mw += 20;
> }
>
> ?
>

shouldn't it be
void growm(const char *arg) {
   mw += 20;
   setgeom(NULL);
}
?

But yes, I think this would be the right thing to do. This way we can
even have a check to not have mw > waw. Or you could use a mwfact
global variable, so you don't lost its value when you change geoms...

-- 
- yiyus || JGL .
Received on Wed Mar 19 2008 - 11:40:04 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:27:22 UTC