Remove redundant updateFocusMousePosition() call

InputDeviceHandler will call it when needed.
This commit is contained in:
Vlad Zahorodnii 2021-11-29 19:03:14 +02:00
parent d3342c6897
commit e44eeaafcf

View file

@ -92,7 +92,6 @@ void TouchInputRedirection::focusUpdate(Toplevel *focusOld, Toplevel *focusNow)
if (AbstractClient *ac = qobject_cast<AbstractClient*>(focusNow)) { if (AbstractClient *ac = qobject_cast<AbstractClient*>(focusNow)) {
ac->pointerEnterEvent(m_lastPosition.toPoint()); ac->pointerEnterEvent(m_lastPosition.toPoint());
workspace()->updateFocusMousePosition(m_lastPosition.toPoint());
} }
auto seat = waylandServer()->seat(); auto seat = waylandServer()->seat();