mirror of https://code.videolan.org/videolan/vlc
ed22580d6f
This fixes #28377 -- the issue when double-clicking on MOUSE_BUTTON_CENTER (mouse wheel) would result in plugins receiving mouse events only for the first click, as VLC was filtering out all non-left-mouse-button double-clicks. The non-left-mouse-button double-click events, instead of being entirely filtered out, are now being passed as regular mouse button presses without any indication that they are double-clicks. While it would be more proper to pass them as double-clicks with the corresponding mouse button being pressed, that might break some 3rd party plugins that rely on (vlc_mouse_t.b_double_click == true) to mean that the left mouse button was double-clicked, without checking if the left mouse button was actually pressed. Still, even with b_double_click not being set on non-left-mouse-button double-clicks, passing such double-clicks as regular press+release events does fix the issue of VLC "eating up" the second click of a MOUSE_BUTTON_CENTER, so this is a good change. |
||
---|---|---|
.. | ||
android | ||
audio_output | ||
config | ||
darwin | ||
extras | ||
input | ||
interface | ||
linux | ||
misc | ||
modules | ||
network | ||
os2 | ||
playlist | ||
posix | ||
stream_output | ||
test | ||
text | ||
video_output | ||
win32 | ||
.gitignore | ||
Makefile.am | ||
check_headers | ||
check_symbols | ||
libvlc-module.c | ||
libvlc.c | ||
libvlc.h | ||
libvlc_win32_rc.rc.in | ||
libvlccore.sym | ||
missing.c | ||
version.c | ||
vlc-plugin.pc.in |