mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
Linux/X11/touch: don't send duplicate mouse-up events for first touch
This commit is contained in:
parent
11bc7a651b
commit
8eab71fef4
1 changed files with 4 additions and 0 deletions
|
|
@ -10979,6 +10979,10 @@ proxy_button_event (GdkEvent *source_event,
|
||||||
g_assert (0);
|
g_assert (0);
|
||||||
return TRUE;
|
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,
|
convert_toplevel_coords_to_window (event_win,
|
||||||
toplevel_x, toplevel_y,
|
toplevel_x, toplevel_y,
|
||||||
&event->button.x, &event->button.y);
|
&event->button.x, &event->button.y);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue