summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2023-12-29 00:04:01 +0100
committervaxerski <vaxry@vaxry.net>2023-12-29 00:04:01 +0100
commitf771c10d1a6e07406b27727789d0218c7b206439 (patch)
treec954d16044a34d692aef0dfa6c0227f41005c012 /src/managers/input/InputManager.cpp
parent8321d6be46ed2df7dfe7ec142716a7d1a50d2d5e (diff)
renderer: ignore windowRequestedCursorHide
ref #4197, thanks @dtop129 co-authored-by: dtop129
Diffstat (limited to 'src/managers/input/InputManager.cpp')
-rw-r--r--src/managers/input/InputManager.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp
index b36b7dbf..9aae3e44 100644
--- a/src/managers/input/InputManager.cpp
+++ b/src/managers/input/InputManager.cpp
@@ -483,11 +483,6 @@ void CInputManager::onMouseButton(wlr_pointer_button_event* e) {
}
void CInputManager::processMouseRequest(wlr_seat_pointer_request_set_cursor_event* e) {
- if (!e->surface)
- g_pHyprRenderer->m_bWindowRequestedCursorHide = true;
- else
- g_pHyprRenderer->m_bWindowRequestedCursorHide = false;
-
if (!cursorImageUnlocked())
return;