vlc | branch: master | Pierre Lamot <[email protected]> | Thu Oct 10 14:37:06 
2019 +0200| [ab4489220d2159f4f6b251660b336877d6b17665] | committer: 
Jean-Baptiste Kempf

qml: forward key events from the VideoSurface as hotkeys

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ab4489220d2159f4f6b251660b336877d6b17665
---

 modules/gui/qt/qml/player/Player.qml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/qt/qml/player/Player.qml 
b/modules/gui/qt/qml/player/Player.qml
index 07cd3a72b0..d91298ae3f 100644
--- a/modules/gui/qt/qml/player/Player.qml
+++ b/modules/gui/qt/qml/player/Player.qml
@@ -126,6 +126,8 @@ Utils.NavigableFocusScope {
                     || event.matches(StandardKey.Back)
                     || event.matches(StandardKey.Cancel)) {
                 toolbarAutoHide.toggleForceVisible()
+            } else {
+                rootWindow.sendHotkey(event.key, event.modifiers);
             }
         }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to