Re: [AD] windows resizing regression |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
I think OS X is the only platform that does it right. I think Windows
needs to "call al_acknowledge_resize" itself, and only send events on
user resizes and Linux needs to stop sending the resize event on
programmatic resizes.
--
Trent Gamblin
On 2010-11-09, at 1:56 PM, Michał Cichoń wrote:
> IMHO the proper behavior is to send event when user resize window
> manually, after calling al_resize_display(), after changing from/to
> windowed/fullscreen mode (is there any event to notify about that?).
>
> al_acknowledge_resize() is not necessary from the point view of the
> user. Just yet another thing to remember about. I first thought
> handling resize event is good enough, because this is the right place
> to handle incoming changes. Events are processed in single thread, so
> I will not be drawing while processing event queue.
> --
> thedmd, Michał Cichoń
> Artifex Mundi
> michcic@xxxxxxxxxx
> http://www.artifexmundi.com