keybinds: Added toggleswallow dispatcher (#5548)
* Added `toggleswallow` dispatcher * clang-format * Removed brackets for 1-line if
This commit is contained in:
parent
3b99e906df
commit
84c9baecc6
5 changed files with 38 additions and 7 deletions
|
|
@ -452,8 +452,10 @@ void CWindow::moveToWorkspace(PHLWORKSPACE pWorkspace) {
|
|||
}
|
||||
|
||||
if (const auto SWALLOWED = m_pSwallowed.lock()) {
|
||||
SWALLOWED->moveToWorkspace(pWorkspace);
|
||||
SWALLOWED->m_pMonitor = m_pMonitor;
|
||||
if (SWALLOWED->m_bCurrentlySwallowed) {
|
||||
SWALLOWED->moveToWorkspace(pWorkspace);
|
||||
SWALLOWED->m_pMonitor = m_pMonitor;
|
||||
}
|
||||
}
|
||||
|
||||
// update xwayland coords
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue