diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 5af124ee..9c8d8f6f 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -6699,7 +6699,7 @@ fi if test "$enable_user32_WM_NOTIFY" -eq 1; then patch_apply user32-WM_NOTIFY/0001-user32-Allow-to-send-post-intra-process-WM_NOTIFY-me.patch ( - echo '+ { "Sebastian Lackner", "user32: Allow to send/post intra-process WM_NOTIFY messages.", 1 },'; + echo '+ { "Sebastian Lackner", "user32: Do not block sending/posting WM_NOTIFY messages.", 1 },'; ) >> "$patchlist" fi diff --git a/patches/user32-WM_NOTIFY/0001-user32-Allow-to-send-post-intra-process-WM_NOTIFY-me.patch b/patches/user32-WM_NOTIFY/0001-user32-Allow-to-send-post-intra-process-WM_NOTIFY-me.patch index 2a87efb3..d6225a08 100644 --- a/patches/user32-WM_NOTIFY/0001-user32-Allow-to-send-post-intra-process-WM_NOTIFY-me.patch +++ b/patches/user32-WM_NOTIFY/0001-user32-Allow-to-send-post-intra-process-WM_NOTIFY-me.patch @@ -1,8 +1,9 @@ -From a92902452635740af38a09efa9001b8ce26db5c5 Mon Sep 17 00:00:00 2001 +From 5fa145bd58a20534e11e746a4bcdb646f13e7779 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner -Date: Sun, 6 Mar 2016 00:57:32 +0100 -Subject: user32: Allow to send/post intra-process WM_NOTIFY messages. +Date: Mon, 7 Mar 2016 08:31:26 +0100 +Subject: user32: Do not block sending/posting WM_NOTIFY messages. +Signed-off-by: Sebastian Lackner --- dlls/user32/message.c | 3 +-- dlls/user32/tests/msg.c | 30 ++++++++++++++++++++++++++++++ @@ -23,7 +24,7 @@ index 9e0ce05..8c3a115 100644 SET(WM_STYLECHANGING) | SET(WM_STYLECHANGED), /* 0x80 - 0x9f */ diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c -index 47d754f..7c9e55c 100644 +index 47d754f..72d6fca 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -11188,6 +11188,35 @@ static void test_quit_message(void) @@ -50,7 +51,7 @@ index 47d754f..7c9e55c 100644 + ret = PostMessageA(hwnd, WM_NOTIFY, 0x1234, 0xdeadbeef); + ok(ret == TRUE, "PostMessageA failed with error %u\n", GetLastError()); + ret = PostMessageW(hwnd, WM_NOTIFY, 0x1234, 0xdeadbeef); -+ ok(ret == TRUE, "PostMessageA failed with error %u\n", GetLastError()); ++ ok(ret == TRUE, "PostMessageW failed with error %u\n", GetLastError()); + ret = PostThreadMessageA(GetCurrentThreadId(), WM_NOTIFY, 0x1234, 0xdeadbeef); + ok(ret == TRUE, "PostThreadMessageA failed with error %u\n", GetLastError()); + ret = PostThreadMessageW(GetCurrentThreadId(), WM_NOTIFY, 0x1234, 0xdeadbeef);