Merge branch 'main' into fix-active-window-json-bools

This commit is contained in:
Yavor Kolev 2022-08-08 13:51:08 -07:00 committed by GitHub
commit 6d788f0fc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -169,12 +169,12 @@ R"#({
"id": %i,
"name": "%s"
},
"floating": %s,
"floating": %i,
"monitor": %i,
"class": "%s",
"title": "%s",
"pid": %i,
"xwayland": %s
"xwayland": %i
})#",
PWINDOW,
(int)PWINDOW->m_vRealPosition.vec().x, (int)PWINDOW->m_vRealPosition.vec().y,

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;