Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
b481c38e by Pierre Lamot at 2021-08-06T17:19:21+00:00
qt: add touch screen support for DComp compositor
fix: #25486
- - - - -
1 changed file:
- modules/gui/qt/maininterface/compositor_dcomp_uisurface.cpp
Changes:
=====================================
modules/gui/qt/maininterface/compositor_dcomp_uisurface.cpp
=====================================
@@ -662,8 +662,15 @@ bool CompositorDCompositionUISurface::eventFilter(QObject*
object, QEvent* event
case QEvent::DragLeave:
case QEvent::DragResponse:
case QEvent::Drop:
+
+ case QEvent::TouchBegin:
+ case QEvent::TouchEnd:
+ case QEvent::TouchCancel:
+ case QEvent::TouchUpdate:
+
return QCoreApplication::sendEvent(m_uiWindow, event) ||
event->isAccepted();
+
case QEvent::KeyPress:
case QEvent::KeyRelease:
return QCoreApplication::sendEvent(m_uiWindow, event);
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/b481c38ed0b04eabc9b69278b132d395019fba43
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/b481c38ed0b04eabc9b69278b132d395019fba43
You're receiving this email because of your account on code.videolan.org.
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits