Dmitry Timoshkov : user32: Properly pack the WM_WINE_SETWINDOWPOS internal message.

Alexandre Julliard julliard at winehq.org
Tue Oct 5 14:41:49 CDT 2010


Module: wine
Branch: stable
Commit: 1a0e165d77f049418ae60e86ca621ceb6cc80218
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1a0e165d77f049418ae60e86ca621ceb6cc80218

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Mon Aug  9 15:56:12 2010 +0900

user32: Properly pack the WM_WINE_SETWINDOWPOS internal message.
(cherry picked from commit ea7020480bbc975c5ca6994b178a1ffce835906c)

---

 dlls/user32/message.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/user32/message.c b/dlls/user32/message.c
index b93c703..312d54c 100644
--- a/dlls/user32/message.c
+++ b/dlls/user32/message.c
@@ -835,6 +835,7 @@ static size_t pack_message( HWND hwnd, UINT message, WPARAM wparam, LPARAM lpara
         push_data( data, &data->ps.cis, sizeof(data->ps.cis) );
         return 0;
     }
+    case WM_WINE_SETWINDOWPOS:
     case WM_WINDOWPOSCHANGING:
     case WM_WINDOWPOSCHANGED:
     {
@@ -1015,9 +1016,6 @@ static size_t pack_message( HWND hwnd, UINT message, WPARAM wparam, LPARAM lpara
         push_data( data, header, header->dbch_size );
         return 0;
     }
-    case WM_WINE_SETWINDOWPOS:
-        push_data( data, (WINDOWPOS *)lparam, sizeof(WINDOWPOS) );
-        return 0;
     case WM_WINE_KEYBOARD_LL_HOOK:
     {
         struct hook_extra_info *h_extra = (struct hook_extra_info *)lparam;




More information about the wine-cvs mailing list