> --- client.c.old        2009-09-12 19:24:31.000000000 +0200
> +++ client.c    2009-09-12 19:28:37.000000000 +0200

hmm.

> -               wWindowConfigure(wwin, nx, ny, nwidth, nheight);
> +               if (nwidth != wwin->old_geometry.width)
> +                    wwin->flags.maximized &= ~(MAX_HORIZONTAL | MAX_MAXIMUS);
> +                if (nheight != wwin->old_geometry.height)
> +                    wwin->flags.maximized &= ~(MAX_VERTICAL | MAX_LEFTHALF | 
> MAX_RIGHTHALF | MAX_MAXIMUS);
> +                wWindowConfigure(wwin, nx, ny, nwidth, nheight);
>                wwin->old_geometry.x = nx;
>                wwin->old_geometry.y = ny;
>                wwin->old_geometry.width = nwidth;

I still didn't test it, but shouldn't this check be done inside
wMaximizeWindow() in src/actions.c?

That is what is executed when hitting the maximize button or shortcut..


-- 
To unsubscribe, send mail to [email protected].

Reply via email to