Revert "Linux/X11/touch: don't send duplicate mouse-up events for first touch"

This reverts commit 8eab71fef4.
This commit is contained in:
Robin Gareus 2025-04-15 21:48:55 +02:00
parent 5a90eb0776
commit 2a9776de5a
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -10979,10 +10979,6 @@ proxy_button_event (GdkEvent *source_event,
g_assert (0);
return TRUE;
}
if (type == GDK_TOUCH_END && NULL != _gdk_display_has_pointer_grab (display, serial)) {
/* skip if grabbed, button release event will be sent directly */
return TRUE;
}
convert_toplevel_coords_to_window (event_win,
toplevel_x, toplevel_y,
&event->button.x, &event->button.y);