diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 144da2b..f0baa4e 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -426,7 +426,7 @@ void BScreen::changeWorkspaceID(unsigned int id) { #ifdef ADD_BLOAT toolbar->redrawWorkspaceLabel(True); #endif // ADD_BLOAT - + updateNetizenCurrentWorkspace(); } @@ -617,7 +617,7 @@ const string BScreen::getNameOfWorkspace(unsigned int id) { void BScreen::reassociateWindow(BlackboxWindow *w, unsigned int wkspc_id, - bool ignore_sticky) { + bool /*ignore_sticky*/) { if (! w) return; if (wkspc_id == BSENTINEL) @@ -629,7 +629,7 @@ void BScreen::reassociateWindow(BlackboxWindow *w, unsigned int wkspc_id, if (w->isIconic()) { removeIcon(w); getWorkspace(wkspc_id)->addWindow(w); - } else if (ignore_sticky || ! w->isStuck()) { + } else { getWorkspace(w->getWorkspaceNumber())->removeWindow(w); getWorkspace(wkspc_id)->addWindow(w); } |