dont unset focused client if it is still/already set, that causes bugs!

This commit is contained in:
Dana Jansens 2003-01-07 06:24:40 +00:00
parent dc532b7661
commit 6c3aec9e09

View file

@ -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)