diff options
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 4a7fc11a..bf784af1 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -13,6 +13,9 @@ CInputManager::CInputManager() { auto event = std::any_cast<CCursorShapeProtocol::SSetShapeEvent>(data); + if (!g_pCompositor->m_sSeat.seat->pointer_state.focused_client) + return; + if (wl_resource_get_client(event.pMgr->resource()) != g_pCompositor->m_sSeat.seat->pointer_state.focused_client->client) return; |
