fix movefocusto with null last

This commit is contained in:
Vaxry 2022-08-08 22:46:11 +02:00
parent 5aed6f1bc7
commit b60b52c5cf
1 changed files with 3 additions and 0 deletions

View File

@ -736,6 +736,9 @@ void CKeybindManager::moveFocusTo(std::string args) {
const auto PLASTWINDOW = g_pCompositor->m_pLastWindow;
if (!PLASTWINDOW)
return;
// remove constraints
g_pCompositor->m_sSeat.mouse->constraintActive = false;