Carlos R. Mafra wrote:
> +     /* Take into account the window attributes */
> +     if (directions && HAS_BORDER(wwin))
> +                     new_height -= FRAME_BORDER_WIDTH * 2;

Ops, this one should have been new_width. And the new_hight one
should be moved to the "vertical check" below.

> +
> +     if ((directions & (MAX_VERTICAL | MAX_MAXIMUS)) && WFLAGP(wwin, 
> full_maximize)) {
> +                     new_y -= wwin->frame->top_width;
> +                     new_height += wwin->frame->bottom_width - 1;
>       }
>  
> -     if (directions & MAX_MAXIMUS)
> -             find_Maximus_geometry(wwin, usableArea, &new_x, &new_y, 
> &new_width, &new_height);
> +     if (!WFLAGP(wwin, full_maximize))
> +             new_height -= wwin->frame->top_width + 
> wwin->frame->bottom_width;


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

Reply via email to