diff --git a/frame/util/multiscreenworker.cpp b/frame/util/multiscreenworker.cpp index ebdc5991b..94e9aed4d 100644 --- a/frame/util/multiscreenworker.cpp +++ b/frame/util/multiscreenworker.cpp @@ -1431,7 +1431,9 @@ void MultiScreenWorker::checkXEventMonitorService() }); // 触屏时,后端只发送press、release消息,有move消息则为鼠标,press置false - connect(touchEventInter, &XEventMonitor::CursorMove, this, [ = ] { setStates(TouchPress, false); }); + connect(touchEventInter, &XEventMonitor::CursorMove, this, [ = ] { + setStates(Utils::IS_WAYLAND_DISPLAY? MousePress : TouchPress, false); + }); connect(touchEventInter, &XEventMonitor::ButtonPress, this, &MultiScreenWorker::onTouchPress); connect(touchEventInter, &XEventMonitor::ButtonRelease, this, &MultiScreenWorker::onTouchRelease); };