Dmitry Timoshkov (@dmitry) commented about dlls/win32u/tests/win32u.c:
+ cls.lpfnWndProc = test_over_maximize_proc; + cls.hInstance = GetModuleHandleW(NULL); + cls.lpszClassName = L"maximize_test"; + RegisterClassW(&cls); + + hwnd = CreateWindowW(L"maximize_test", NULL, WS_OVERLAPPEDWINDOW, 50, 50, 100, 100, 0, NULL, GetModuleHandleW(NULL), NULL); + if (!hwnd) + return; + + ntdll = GetModuleHandleA("ntdll.dll"); + if (ntdll && GetProcAddress(ntdll, "wine_get_version") && !GetModuleHandleA("winex11.drv")) + { + skip("Skipping x11 maximize test.\n"); + DestroyWindow(hwnd); + return; + } What's the point of this test if it doesn't test the Windows behaviour?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11099#note_142536