renderer: ignore windowRequestedCursorHide

ref #4197, thanks @dtop129

co-authored-by: dtop129
This commit is contained in:
vaxerski
2023-12-29 00:04:01 +01:00
parent 8321d6be46
commit f771c10d1a
3 changed files with 1 additions and 7 deletions

View File

@@ -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;