Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing mouse events when using gesture events in wxGTK
When touch events were enabled, normal mouse move and click events were not generated any longer. Fix this by doing the following two things: First, emulate the LeftDown, LeftUp, and Motion events, that are no longer triggered when using the "touch-event". In addition, remove GDK_BUTTON1_MASK in the press callback, that is never set when using a mouse, but that is set for some reason by GTK when using a touchscreen. See #2539 Closes #19265. Signed-off-by: Thierry Bultel <tbultel@free.fr>
- Loading branch information
Showing
1 changed file
with
93 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters