[vlc-commits] [Git][videolan/vlc][3.0.x] vout: pass non-left-mouse-button double-clicks on Windows too
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Oct 27 11:01:10 UTC 2023
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
132e617a by Maxim Biro at 2023-10-27T06:42:20+00:00
vout: pass non-left-mouse-button double-clicks on Windows too
Follow-up to ed22580d6f312bfb13a3fcf1cfd01206c7159f2b, which did this on
Linux.
- - - - -
1 changed file:
- modules/video_output/win32/events.c
Changes:
=====================================
modules/video_output/win32/events.c
=====================================
@@ -277,6 +277,9 @@ static void *EventThread( void *p_this )
case WM_MBUTTONUP:
MouseReleased( p_event, MOUSE_BUTTON_CENTER );
break;
+ case WM_MBUTTONDBLCLK:
+ MousePressed( p_event, msg.hwnd, MOUSE_BUTTON_CENTER );
+ break;
case WM_RBUTTONDOWN:
MousePressed( p_event, msg.hwnd, MOUSE_BUTTON_RIGHT );
@@ -284,6 +287,9 @@ static void *EventThread( void *p_this )
case WM_RBUTTONUP:
MouseReleased( p_event, MOUSE_BUTTON_RIGHT );
break;
+ case WM_RBUTTONDBLCLK:
+ MousePressed( p_event, msg.hwnd, MOUSE_BUTTON_RIGHT );
+ break;
case WM_KEYDOWN:
case WM_SYSKEYDOWN:
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/132e617a311e1f1515ffeacf631156f4a263f2dc
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/132e617a311e1f1515ffeacf631156f4a263f2dc
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list