Module: wine Branch: master Commit: 7fa032d1a4d34b0cb41add32235d122b10bd2734 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7fa032d1a4d34b0cb41add3223...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Oct 17 12:40:24 2007 +0200
winex11: Process all types of messages while moving/resizing a window.
---
dlls/winex11.drv/winpos.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c index 71c05f5..02e6151 100644 --- a/dlls/winex11.drv/winpos.c +++ b/dlls/winex11.drv/winpos.c @@ -1353,7 +1353,7 @@ void X11DRV_SysCommandSizeMove( HWND hwnd, WPARAM wParam ) { int dx = 0, dy = 0;
- if (!GetMessageW( &msg, 0, WM_KEYFIRST, WM_MOUSELAST )) break; + if (!GetMessageW( &msg, 0, 0, 0 )) break; if (CallMsgFilterW( &msg, MSGF_SIZE )) continue;
/* Exit on button-up, Return, or Esc */ @@ -1362,7 +1362,11 @@ void X11DRV_SysCommandSizeMove( HWND hwnd, WPARAM wParam ) ((msg.wParam == VK_RETURN) || (msg.wParam == VK_ESCAPE)))) break;
if ((msg.message != WM_KEYDOWN) && (msg.message != WM_MOUSEMOVE)) + { + TranslateMessage( &msg ); + DispatchMessageW( &msg ); continue; /* We are not interested in other messages */ + }
pt = msg.pt;