Skip to content
Snippets Groups Projects
Commit 132e617a authored by nurupo's avatar nurupo Committed by Steve Lhomme
Browse files

vout: pass non-left-mouse-button double-clicks on Windows too

Follow-up to ed22580d, which did this on
Linux.
parent 27840cb5
No related branches found
No related tags found
1 merge request!4431[3.0] vout: pass non-left-mouse-button double-clicks on Windows too
Pipeline #399770 passed with stage
in 16 minutes and 33 seconds
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment