Module: wine Branch: master Commit: 81e8513ef2a762c3a8731bddfd5b7572c685f762 URL: https://gitlab.winehq.org/wine/wine/-/commit/81e8513ef2a762c3a8731bddfd5b757...
Author: Esme Povirk esme@codeweavers.com Date: Fri Mar 22 20:17:06 2024 +0000
user32/tests: Further updates for win11 TrackPopupMenu failures.
---
dlls/user32/tests/msg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 1169d82271c..473b4cfd4a1 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -2178,7 +2178,8 @@ static const struct message WmTrackPopupMenuMinimizeWindow[] = { { HCBT_ACTIVATE, hook|optional }, /* win11 */ { WM_NCACTIVATE, sent|optional }, /* win11 */ { WM_ACTIVATE, sent|optional }, /* win11 */ - { WM_CANCELMODE, sent }, + { EVENT_SYSTEM_FOREGROUND, winevent_hook|wparam|lparam|optional, 0, 0 }, /* win11 */ + { WM_CANCELMODE, sent|optional }, /* not always sent on win11 */ { EVENT_SYSTEM_CAPTUREEND, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 }, { WM_CAPTURECHANGED, sent|defwinproc }, { EVENT_SYSTEM_MENUPOPUPEND, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CLIENT, 0 },