dont unset focused client if it is still/already set, that causes bugs!
This commit is contained in:
parent
dc532b7661
commit
6c3aec9e09
1 changed files with 2 additions and 1 deletions
|
@ -656,7 +656,8 @@ void OBScreen::changeDesktop(long desktop)
|
|||
}
|
||||
|
||||
// force the callbacks to fire
|
||||
Openbox::instance->setFocusedClient(0);
|
||||
if (!Openbox::instance->focusedClient())
|
||||
Openbox::instance->setFocusedClient(0);
|
||||
}
|
||||
|
||||
void OBScreen::changeNumDesktops(long num)
|
||||
|
|
Loading…
Reference in a new issue