Commit Graph

3433 Commits

Author SHA1 Message Date
Jinoh Kang ef33382df5 user32: Implement WindowFromPhysicalPoint.
physical<->logical is an identity mapping in other functions and
also >win8, so make it consistent with those.

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-04 16:24:48 +02:00
Connor McAdams 1b78c229f5 user32/tests: Fix dump_sequence winevent_hook_todo handling.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:12 +02:00
Jacek Caban 360510da94 user32: Always initialize graphics_driver in load_desktop_driver.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:12 +02:00
Connor McAdams 4deaed0fd4 user32/tests: Add missing winevents to test_DoubleSetCapture() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 21:49:00 +02:00
Connor McAdams 16444944a2 user32/tests: Add missing winevents to test_TrackPopupMenuEmpty() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 21:49:00 +02:00
Connor McAdams 0bf1b6f5c6 user32/tests: Add missing winevents to test_TrackPopupMenu() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 21:49:00 +02:00
Connor McAdams e2b130e44f user32/tests: Add missing winevents to test_layered_window() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 21:49:00 +02:00
Connor McAdams 5d48747eca user32/tests: Store thread ID of thread we're watching for winevents.
Since we're watching a specific thread ID for winevents, check that the
thread ID passed in the winevent callback function matches the thread
we're watching, instead of the thread currently executing.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 21:49:00 +02:00
Connor McAdams e44e7673b9 user32/tests: Add message to fix occasional failure in test_dialog_messages().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 17:40:14 +02:00
Connor McAdams 51bf6cc0fd user32/tests: Add missing winevents to test_defwinproc() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 17:40:14 +02:00
Connor McAdams 86198569f6 user32/tests: Fix existing winevents in test_defwinproc() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 17:40:14 +02:00
Connor McAdams 21e3bb1bfb user32/tests: Add missing winevents to test_menu_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 17:40:14 +02:00
Connor McAdams e65813a5ba user32/tests: Add missing winevents to test_EndDialog() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 07:51:32 +02:00
Connor McAdams f7c94fa363 user32/tests: Add missing winevents to test_dialog_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 07:51:28 +02:00
Connor McAdams 72d2bf3cf3 user32/tests: Fix existing winevents in test_dialog_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 07:51:23 +02:00
Connor McAdams 327fb19184 user32/tests: Add missing winevents to test_SetWindowRgn() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 07:51:16 +02:00
Connor McAdams 38729cbdff user32/tests: Fix existing winevents in test_SetWindowRgn() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 07:51:08 +02:00
Connor McAdams f4fdb721bf user32/tests: Add missing winevents to test_restore_messages() message sequence.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 10:30:31 +02:00
Connor McAdams 9196caea07 user32/tests: Add missing winevents to test_SetActiveWindow() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 10:30:29 +02:00
Connor McAdams 37b2e37edf user32/tests: Add missing winevents to test_quit_message() message sequence.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 10:30:25 +02:00
Connor McAdams 1e43edd800 user32/tests: Add missing winevents to test_edit_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 10:30:16 +02:00
Connor McAdams 8502b6817f user32/tests: Fix existing winevents in test_edit_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 10:30:12 +02:00
Rémi Bernon e1e82148f8 hidparse.sys: Make internal HID structures compatible with native.
Or compatible enough ast least.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 21:47:45 +02:00
Connor McAdams a622753186 user32/tests: Fix existing winevents in test_DestroyWindow() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 09:39:26 +02:00
Connor McAdams 18d2df2bdf user32/tests: Add missing winevents to test_accelerators() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 09:39:23 +02:00
Connor McAdams 7c87284290 user32/tests: Fix existing winevents in test_accelerators() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 09:38:51 +02:00
Connor McAdams e4bc8227ff user32/tests: Fix test_paint_messages() message sequences to support WinEvents.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 09:38:46 +02:00
Connor McAdams 39af41a125 user32/tests: Fix test_listbox_messages() message sequences to support WinEvents.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 09:38:41 +02:00
Connor McAdams 6049cc8613 user32/tests: Fix existing winevents in test_autoradio message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-21 11:42:54 +02:00
Connor McAdams 7375831da3 user32/tests: Fix missing messages in test_button_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-21 11:42:50 +02:00
Connor McAdams 26d25b4f9e user32/tests: Add missing winevents to test_button_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-21 11:42:44 +02:00
Connor McAdams 3a2cf89e42 user32/tests: Fix existing winevents in test_button_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-21 11:42:38 +02:00
Connor McAdams 7f6d723e50 user32/tests: Fix missing messages in test_mdi_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:49 +02:00
Connor McAdams 78d6c8aa71 user32/tests: Add missing winevents to test_mdi_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:49 +02:00
Connor McAdams 2f6efe8ec3 user32/tests: Fix existing winevents in test_mdi_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:49 +02:00
Connor McAdams 02ce19e459 user32/tests: Fix occasional failure in WmShowNoActivate_2 message sequence.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:49 +02:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Connor McAdams f16ee0b1ba user32/tests: Fix existing winevents in invisible_parent_tests() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:27:37 +02:00
Connor McAdams a46ae113ae user32/tests: Add missing winevents to test_showwindow() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:27:32 +02:00
Connor McAdams 804210fc77 user32/tests: Fix existing winevents in test_showwindow() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:27:25 +02:00
Connor McAdams ca37d6ea6b user32/tests: Fix occasional test failure in test_ShowWindow().
Windows 8+ sometimes sends an optional WM_WINDOWPOSCHANGED after an optional
WM_WINDOWPOSCHANGING.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:27:15 +02:00
Zhiyi Zhang c58d9cf744 user32/tests: Fix some test failures on the w7u_2qxl TestBot.
The first adapter reported by EnumDisplayDevices() is not guaranteed to be primary.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-16 22:22:44 +02:00
Connor McAdams f232252951 user32/tests: Add missing winevents to test_setwindowpos() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-15 22:08:29 +02:00
Connor McAdams 633dbf3b79 user32/tests: Add missing winevents to test_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-15 22:08:23 +02:00
Connor McAdams 2583d85fcf user32/tests: Fix existing winevents in test_messages() message sequences.
Set the appropriate message flags for the existing WinEvents in the
test_messages() message sequences.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-15 22:08:15 +02:00
Connor McAdams 90ab555bbc user32/tests: Fix occasional failure in test_messages() message sequences.
Some window messages in the WmShowPopupExtremeLocationSeq message
sequence aren't always sent on Win8+.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-15 22:07:56 +02:00
Connor McAdams 5488159209 user32/tests: Fix occasional failure in ShowWindow() message sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-15 22:07:53 +02:00
Connor McAdams 0c92fa4472 user32/tests: Fix ShowWindow() message sequences to support winevents.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-14 18:27:50 +02:00
Connor McAdams 7dc032e851 user32/tests: Mark some winevents optional in the ShowWindow sequences.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-14 18:27:47 +02:00
Connor McAdams a4e4ef1926 user32/tests: Add optional message to fix ShowWindow test.
Windows 7 sometimes sends an optional WM_WINDOWPOSCHANGED message along
with the optional WM_WINDOWPOSCHANGING message.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-14 18:27:44 +02:00