summaryrefslogtreecommitdiff
path: root/src/events/Windows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/Windows.cpp')
-rw-r--r--src/events/Windows.cpp4
1 files changed, 2 insertions, 2 deletions
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