Signed-off-by: Jacek Caban jacek@codeweavers.com --- I considered using GetWindowThreadProcessId() for IsWindow instead, but that wouldn't do the right thing for things like desktops created directly by server.
If we had shared handle table, both this patch and the previous one could be implemented on PE side (without syscall nor server call), but even then we'd need something exposed to drivers.
dlls/user32/win.c | 21 +------------------ dlls/win32u/gdiobj.c | 1 + dlls/win32u/win32u.spec | 2 +- dlls/win32u/win32u_private.h | 1 + dlls/win32u/window.c | 40 ++++++++++++++++++++++++++++++++++++ dlls/win32u/wrappers.c | 6 ++++++ include/ntuser.h | 7 +++++++ 7 files changed, 57 insertions(+), 21 deletions(-)
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=109258
Your paranoid android.
=== debian11 (32 bit report) ===
user32: win.c:11765: Test succeeded inside todo block: child should be topmost win.c:11768: Test failed: grandchild should be topmost win.c:11776: Test failed: child should NOT be topmost win.c:11779: Test succeeded inside todo block: grandchild should NOT be topmost win.c:11782: Test failed: 006F00A6: expected NOT topmost win.c:11601: Test succeeded inside todo block: 5: hwnd 01420056 is still topmost
=== debian11 (64 bit WoW report) ===
user32: win.c:11641: Test failed: 0000000000900114: expected prev 0000000000360098, got 0000000000000000 win.c:11655: Test failed: hwnd should NOT be topmost win.c:11657: Test failed: 0000000000900114: expected NOT topmost win.c:11601: Test failed: 1: hwnd 0000000000900114 is still topmost win.c:11765: Test succeeded inside todo block: child should be topmost win.c:11768: Test failed: grandchild should be topmost win.c:11776: Test failed: child should NOT be topmost win.c:11779: Test succeeded inside todo block: grandchild should NOT be topmost win.c:11782: Test failed: 00000000011800DC: expected NOT topmost win.c:11601: Test succeeded inside todo block: 5: hwnd 0000000000CA0040 is still topmost