#6267 Stop detecting mouse movement for local input
This commit is contained in:
parent
ea5be67b27
commit
ec3e0b2f71
|
@ -1391,8 +1391,6 @@ XWindowsScreen::handleSystemEvent(const Event& event, void* /*unused*/)
|
||||||
case MotionNotify:
|
case MotionNotify:
|
||||||
if (m_isPrimary) {
|
if (m_isPrimary) {
|
||||||
onMouseMove(xevent->xmotion);
|
onMouseMove(xevent->xmotion);
|
||||||
} else if (!m_isOnScreen && (xevent->xmotion.send_event == False)) {
|
|
||||||
LOG ((CLOG_INFO "local input detected"));
|
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue