fix movefocusto with null last

This commit is contained in:
Vaxry 2022-08-08 22:46:11 +02:00
parent 5aed6f1bc7
commit b60b52c5cf

View file

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