> Well there is one ugly thing to note about the shrinkmaster and
> growmaster proposal I did some days ago, which I heavily dislike
> and that's why I also don't propose to keep them as an official
> feature.
>
> The problem is:
>
> void
> configurenotify(XEvent *e) {
>       XConfigureEvent *ev = &e->xconfigure;
>
>       if(ev->window == root && (ev->width != sw || ev->height != sh)) {
>               sw = ev->width;
>               sh = ev->height;
>               setgeom(NULL);
>       }
> }
>
> This event handler is invoked whenever X changes the screen
> resolution dynamically. So for the case of
> shrinkmaster/growmaster being the current geometry this means,
> that the master area will shrink/grow whenever the
> screen resolution is changed dynamically.
>
> That's the reason why I propose to get over the idea of
> shrink/growmaster.
>
> Kind regards,

Yes, it is true. Finally I have replaced shrinkmaster and growmaster 
geometries with a geometry (really 2, with and without bar) which has a fixed 
mwfact and it seems to fit pretty well my needs.

Kind regards,
Nibble

Reply via email to