[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] WM_REPOSED implementation



> -----Original Message-----
> From: mint-bounce@lists.fishpool.fi
>
> If you send a WM_SIZED, and the application calls wind_set and sets a
> new WH and doesn't set a new XY AND it those values have changed, only
> then, ignore that wind_set() and send another WM_MOVED message and use
> the wind_set() from that. You could even cache that the program is

It will probably not work with many applications. There is a risk that the
new height and/ord width would make the window exceed the boundaries of the
screen if the window isn't moved at the same time, many applications then
crops the window to fit inside the screen. When this happens and you send a
WM_MOVED to move the window to it's correct position, you'll end up with a
window smaller than intended. MOVED must be sent first, then SIZED.

Jo Even