refactor a bunch of layout code
This commit is contained in:
parent
ae3ff6736e
commit
b0cd90a43c
6 changed files with 268 additions and 239 deletions
|
|
@ -221,6 +221,9 @@ void CKeybindManager::toggleActiveFloating(std::string args) {
|
|||
const auto ACTIVEWINDOW = g_pCompositor->m_pLastWindow;
|
||||
|
||||
if (g_pCompositor->windowValidMapped(ACTIVEWINDOW)) {
|
||||
// remove drag status
|
||||
g_pInputManager->currentlyDraggedWindow = nullptr;
|
||||
|
||||
ACTIVEWINDOW->m_bIsFloating = !ACTIVEWINDOW->m_bIsFloating;
|
||||
|
||||
if (ACTIVEWINDOW->m_iWorkspaceID == SPECIAL_WORKSPACE_ID) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue