dont switch workspaces when focusing a sticky window
This commit is contained in:
parent
988461343a
commit
ef0bacbaaf
1 changed files with 2 additions and 1 deletions
|
@ -713,7 +713,8 @@ void Blackbox::process_event(XEvent *e) {
|
|||
|
||||
if (win->isIconic())
|
||||
win->deiconify(False, True);
|
||||
if (win->getWorkspaceNumber() != screen->getCurrentWorkspaceID())
|
||||
if (! win->isStuck() &&
|
||||
(win->getWorkspaceNumber() != screen->getCurrentWorkspaceID()))
|
||||
screen->changeWorkspaceID(win->getWorkspaceNumber());
|
||||
if (win->isVisible() && win->setInputFocus()) {
|
||||
win->getScreen()->getWorkspace(win->getWorkspaceNumber())->
|
||||
|
|
Loading…
Reference in a new issue