diff options
author | Vaxry <[email protected]> | 2024-02-15 00:46:39 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-02-15 00:59:04 +0000 |
commit | b7ab15dc8083b87fe732d5baa43914a897c107fe (patch) | |
tree | f3548cd2ebab9afc4b8a7b2097cbe0fdafd9a25a /src/managers/input/InputManager.cpp | |
parent | 9c3f3b00183c9bcca528d1c74fa29eed0bd747fa (diff) | |
download | Hyprland-b7ab15dc8083b87fe732d5baa43914a897c107fe.tar.gz Hyprland-b7ab15dc8083b87fe732d5baa43914a897c107fe.zip |
input: log cursor image requests
Diffstat (limited to 'src/managers/input/InputManager.cpp')
-rw-r--r-- | src/managers/input/InputManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index b36b0034..76fcf1df 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -486,6 +486,8 @@ void CInputManager::processMouseRequest(wlr_seat_pointer_request_set_cursor_even if (!cursorImageUnlocked()) return; + Debug::log(LOG, "cursorImage request: surface {:x}", (uintptr_t)e->surface); + if (e->seat_client == g_pCompositor->m_sSeat.seat->pointer_state.focused_client) { if (e->surface != m_sCursorSurfaceInfo.wlSurface.wlr()) { @@ -514,6 +516,8 @@ void CInputManager::processMouseRequest(wlr_cursor_shape_manager_v1_request_set_ if (!cursorImageUnlocked()) return; + Debug::log(LOG, "cursorImage request: shape {}", (uint32_t)e->shape); + if (e->seat_client == g_pCompositor->m_sSeat.seat->pointer_state.focused_client) { m_sCursorSurfaceInfo.wlSurface.unassign(); m_sCursorSurfaceInfo.vHotspot = {}; |