[vlc-commits] [Git][videolan/vlc][master] qml: do not discriminate the mouse event types in `Player.qml`
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sat Jun 14 11:59:50 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
6a71287b by Fatih Uzunoglu at 2025-06-14T11:47:33+00:00
qml: do not discriminate the mouse event types in `Player.qml`
- - - - -
1 changed file:
- modules/gui/qt/player/qml/Player.qml
Changes:
=====================================
modules/gui/qt/player/qml/Player.qml
=====================================
@@ -201,7 +201,7 @@ FocusScope {
cursorShape: playerSpecializationLoader.cursorShape
- onMouseMoved: {
+ function onMouseEvent() {
//short interval for mouse events
if (Player.isInteractive)
interactiveAutoHideTimer.restart()
@@ -209,6 +209,13 @@ FocusScope {
playerToolbarVisibilityFSM.mouseMove();
}
+ Component.onCompleted: {
+ mouseMoved.connect(videoSurface.onMouseEvent)
+ mousePressed.connect(videoSurface.onMouseEvent)
+ mouseReleased.connect(videoSurface.onMouseEvent)
+ mouseDblClicked.connect(videoSurface.onMouseEvent)
+ }
+
Binding on cursorShape {
when: playerToolbarVisibilityFSM.started
&& !playerToolbarVisibilityFSM.isVisible
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6a71287be1c36cff1e30db8960cba16999196c34
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6a71287be1c36cff1e30db8960cba16999196c34
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