summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qwasmwindownonclientarea.cpp
diff options
context:
space:
mode:
authorMikolaj Boc <[email protected]>2023-01-27 15:01:34 +0100
committerMikolaj Boc <[email protected]>2023-02-14 19:01:17 +0100
commitda5dc2062576b75b6427fcc2bc74dc4fcfd9dcf5 (patch)
tree40c662bbbf5e916f84e6e14acb86932359b9caa7 /src/plugins/platforms/wasm/qwasmwindownonclientarea.cpp
parent22fc1d08bb666bb91470ad3759b91256a56ef4fa (diff)
Transfer touch event handling to QWasmWindow
Fixes: QTBUG-103498 Change-Id: Iec8b5cfba75131e7ddf855e6b729291950888fd3 Reviewed-by: Lorn Potter <[email protected]> Reviewed-by: Aleksandr Reviakin <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmwindownonclientarea.cpp')
-rw-r--r--src/plugins/platforms/wasm/qwasmwindownonclientarea.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/platforms/wasm/qwasmwindownonclientarea.cpp b/src/plugins/platforms/wasm/qwasmwindownonclientarea.cpp
index 4bdc2f072f2..68f14425109 100644
--- a/src/plugins/platforms/wasm/qwasmwindownonclientarea.cpp
+++ b/src/plugins/platforms/wasm/qwasmwindownonclientarea.cpp
@@ -129,9 +129,6 @@ Resizer::ResizerElement::ResizerElement(ResizerElement &&other) = default;
bool Resizer::ResizerElement::onPointerDown(const PointerEvent &event)
{
- if (event.pointerType != PointerType::Mouse)
- return false;
-
m_element.call<void>("setPointerCapture", event.pointerId);
m_capturedPointerId = event.pointerId;
@@ -371,9 +368,6 @@ QRectF TitleBar::geometry() const
bool TitleBar::onPointerDown(const PointerEvent &event)
{
- if (event.pointerType != PointerType::Mouse)
- return false;
-
m_element.call<void>("setPointerCapture", event.pointerId);
m_capturedPointerId = event.pointerId;