diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-09-18 20:45:59 +0200 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-09-18 20:45:59 +0200 |
commit | 54eaaf456fd538a73652690d6ff0b34bf7395e28 (patch) | |
tree | ffa2eed52a9fb3cb5504fb0ef17e9627eb2117fb /doc/classes/AudioStreamSample.xml | |
parent | 377c3bb25672fb7060cbd465a698661a93290e07 (diff) |
Fix popup menu item selected when opening the menu
In order to allow selecting items by either holding left click, or click
to open and click again to select, mouse button release was invalidated
based on the amount of mouse motion.
This was causing issues in some scenarios where an item could be
selected while opening the menu if the mouse moved enough between button
press and release.
This case could happen in the language selection of the project manager,
especially on linux, because of the order and timing of the mouse
events on x11.
This change invalidates mouse release based on a timing condition rather
than moved distance to handle any case from the display server properly.
Diffstat (limited to 'doc/classes/AudioStreamSample.xml')
0 files changed, 0 insertions, 0 deletions