From 4ad03af544ba56399918642b609ed538764d1c0f Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 6 May 2023 00:59:25 +0100 Subject: [PATCH] compositor: don't focus pointer in focusWindow --- src/Compositor.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index cd48fd834..b78d3e9b2 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -864,10 +864,6 @@ void CCompositor::focusWindow(CWindow* pWindow, wlr_surface* pSurface) { g_pXWaylandManager->activateWindow(pWindow, true); // sets the m_pLastWindow - // do pointer focus too - const auto POINTERLOCAL = g_pInputManager->getMouseCoordsInternal() - pWindow->m_vRealPosition.goalv(); - wlr_seat_pointer_notify_enter(m_sSeat.seat, PWINDOWSURFACE, POINTERLOCAL.x, POINTERLOCAL.y); - updateWindowAnimatedDecorationValues(pWindow); // Handle urgency hint on the workspace