[vlc-commits] [Git][videolan/vlc][master] window: fix double click not triggering fullscreen event

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Nov 15 11:38:17 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
fe25c799 by Pierre Lamot at 2022-11-15T11:17:31+00:00
window: fix double click not triggering fullscreen event

ae750acfee filtered events to only triggers fullscreen on left double click by
looking at the original event, 3b6a553c70 changed to use instead the filtered
event, but buttons weren't set on the event.

- - - - -


1 changed file:

- src/video_output/video_window.c


Changes:

=====================================
src/video_output/video_window.c
=====================================
@@ -174,6 +174,7 @@ static void vout_display_window_MouseEvent(vlc_window_t *window,
         case VLC_WINDOW_MOUSE_DOUBLE_CLICK:
             assert(window->info.has_double_click);
             m->b_double_click = true;
+            vlc_mouse_SetPressed(m, ev->button_mask);
             break;
 
         default:



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fe25c79991a728a15447aefeeb53ec41649c487c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fe25c79991a728a15447aefeeb53ec41649c487c
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