Skip to content

Commit

Permalink
Revert "win32u: Ignore emulated mouse messages on touch-enabled windo…
Browse files Browse the repository at this point in the history
…ws."

This reverts commit ea2ee1a.
  • Loading branch information
ivyl committed Nov 6, 2023
1 parent 3f088c2 commit 78c3b5f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dlls/win32u/message.c
Original file line number Diff line number Diff line change
Expand Up @@ -1639,12 +1639,6 @@ static BOOL process_mouse_message( MSG *msg, UINT hw_id, ULONG_PTR extra_info, H
msg->pt = point_phys_to_win_dpi( msg->hwnd, msg->pt );
SetThreadDpiAwarenessContext( get_window_dpi_awareness_context( msg->hwnd ));

if ((extra_info & 0xffffff00) == 0xff515700 && NtUserIsTouchWindow( msg->hwnd, NULL ))
{
accept_hardware_message( hw_id );
return FALSE;
}

if ((extra_info & 0xffffff00) != 0xff515700 && enable_mouse_in_pointer)
{
WORD flags = POINTER_MESSAGE_FLAG_PRIMARY;
Expand Down

0 comments on commit 78c3b5f

Please sign in to comment.