diff --git a/patches/user32-FlashWindowEx/0001-user32-Improve-FlashWindowEx-message-and-return-valu.patch b/patches/user32-FlashWindowEx/0001-user32-Improve-FlashWindowEx-message-and-return-valu.patch deleted file mode 100644 index 6e69179b..00000000 --- a/patches/user32-FlashWindowEx/0001-user32-Improve-FlashWindowEx-message-and-return-valu.patch +++ /dev/null @@ -1,58 +0,0 @@ -From d9259073ce85b42dec32716155e0f10e0f006030 Mon Sep 17 00:00:00 2001 -From: James Coonradt -Date: Tue, 19 Sep 2017 12:28:50 -0600 -Subject: [PATCH] user32: Improve FlashWindowEx message and return value. - ---- - dlls/user32/tests/win.c | 4 ++-- - dlls/win32u/window.c | 5 ++--- - 2 files changed, 4 insertions(+), 5 deletions(-) - -diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c -index a345f5ea9e8..cd85a026672 100644 ---- a/dlls/user32/tests/win.c -+++ b/dlls/user32/tests/win.c -@@ -10148,7 +10148,7 @@ static void test_FlashWindowEx(void) - - SetLastError(0xdeadbeef); - ret = pFlashWindowEx(&finfo); -- todo_wine ok(!ret, "previous window state should not be active\n"); -+ ok(!ret, "previous window state should not be active\n"); - - finfo.cbSize = sizeof(FLASHWINFO) - 1; - SetLastError(0xdeadbeef); -@@ -10199,7 +10199,7 @@ static void test_FlashWindowEx(void) - finfo.dwFlags = FLASHW_STOP; - SetLastError(0xdeadbeef); - ret = pFlashWindowEx(&finfo); -- ok(prev != ret, "previous window state should be different\n"); -+ todo_wine ok(prev != ret, "previous window state should be different\n"); - - DestroyWindow( hwnd ); - } -diff --git a/dlls/win32u/window.c b/dlls/win32u/window.c -index 3b3a3ba5eac..9073d287564 100644 ---- a/dlls/win32u/window.c -+++ b/dlls/win32u/window.c -@@ -4874,8 +4874,7 @@ BOOL WINAPI NtUserFlashWindowEx( FLASHWINFO *info ) - if (!win || win == WND_OTHER_PROCESS || win == WND_DESKTOP) return FALSE; - hwnd = win->handle; /* make it a full handle */ - -- if (info->dwFlags) wparam = !(win->flags & WIN_NCACTIVATED); -- else wparam = (hwnd == NtUserGetForegroundWindow()); -+ wparam = (win->flags & WIN_NCACTIVATED) != 0; - - release_win_ptr( win ); - -@@ -4883,7 +4882,7 @@ BOOL WINAPI NtUserFlashWindowEx( FLASHWINFO *info ) - send_message( hwnd, WM_NCACTIVATE, wparam, 0 ); - - user_driver->pFlashWindowEx( info ); -- return wparam; -+ return (info->dwFlags & FLASHW_CAPTION) ? TRUE : wparam; - } - } - --- -2.47.2 - diff --git a/patches/user32-FlashWindowEx/definition b/patches/user32-FlashWindowEx/definition deleted file mode 100644 index 2cb72351..00000000 --- a/patches/user32-FlashWindowEx/definition +++ /dev/null @@ -1 +0,0 @@ -Fixes: [43124] FlashWindowEx: WM_NCACTIVATE behavior is incorrect