From 5b3e489108d8512fb5dfacf07b2aa3a71208e0f0 Mon Sep 17 00:00:00 2001 From: davc0n Date: Thu, 1 May 2025 23:57:11 +0200 Subject: inputs: refactor class member vars (#10230) --- src/events/Windows.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/events/Windows.cpp') diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 838839d3..450f213e 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -109,7 +109,7 @@ void Events::listener_mapWindow(void* owner, void* data) { } } - if (g_pInputManager->m_bLastFocusOnLS) // waybar fix + if (g_pInputManager->m_lastFocusOnLS) // waybar fix g_pInputManager->releaseAllMouseButtons(); // checks if the window wants borders and sets the appropriate flag @@ -770,7 +770,7 @@ void Events::listener_unmapWindow(void* owner, void* data) { g_pInputManager->releaseAllMouseButtons(); } - if (PWINDOW == g_pInputManager->currentlyDraggedWindow.lock()) + if (PWINDOW == g_pInputManager->m_currentlyDraggedWindow.lock()) g_pKeybindManager->changeMouseBindMode(MBIND_INVALID); // remove the fullscreen window status from workspace if we closed it -- cgit v1.2.3