wgl: Listen to WM_WINDOWPOSCHANGED instead of WM_SIZE messages.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 6 Jul 2009 16:08:37 +0000 (17:08 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 6 Jul 2009 16:08:37 +0000 (17:08 +0100)
commit5470a67335dfd9afffb92ff6521a77519cda40d8
treead5c284843d79d63b140c7e38e2f891cd8a5b9c9
parentfc6e02ce6210d6615af0058f1b57e7ee37a6527f
wgl: Listen to WM_WINDOWPOSCHANGED instead of WM_SIZE messages.

According to
http://blogs.msdn.com/oldnewthing/archive/2008/01/15/7113860.aspx
WM_SIZE is generated from WM_WINDOWPOSCHANGED by DefWindowProc so it
can be masked out by the application.

Also there were some weird bogus WM_SIZE 0x0 messages when starting
sharedtex_mt which we don't get like this.
src/gallium/state_trackers/wgl/shared/stw_framebuffer.c