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

Re: [MiNT] WM_REPOSED implementation



> 1. By default, send WM_SIZED whenever a windows has been resized, regardless
> of which parameter has been changed. I.e. just send the new x, y, width and
> height of the window.

Odd has already blatantly refused to change it and using his REPOSED is
the only way you can't get 2 messages.   Its a solution that fixes
nothing.  My guess is, he's one of the people that has been making
applications that throw away the XY coordinates of WM_SIZED and the only
way to save face is to yell and scream about SIZED "by definition"
doesn't move a window and all that crap.  Its the only thing that makes
sense.

> 2. Make it possible to disable this on a per application basis. E.g. a
> keyword called "no_smooth_resize" or something similar that tells XaAES to
> send first WM_MOVED with the new position, then WM_SIZED with the new
> geometry.

Or .. Have the AES detect it.

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
broken in a config file.