Merge pull request #6276 from symless/issue6267-linux-switch
#6267 Stop detecting mouse movement for local input
This commit is contained in:
commit
b70b8e0fc4
|
@ -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