Fixed sync with xserver when changing workspace
This commit is contained in:
parent
69a4f16e5f
commit
3203526c22
1 changed files with 3 additions and 3 deletions
|
@ -671,10 +671,10 @@ void BScreen::changeWorkspaceID(int id) {
|
|||
|
||||
current_workspace->showAll();
|
||||
|
||||
if (resource.focus_last && current_workspace->getLastFocusedWindow()) {
|
||||
XSync(fluxbox->getXDisplay(), False);
|
||||
if (resource.focus_last && current_workspace->getLastFocusedWindow())
|
||||
current_workspace->getLastFocusedWindow()->setInputFocus();
|
||||
}
|
||||
|
||||
XSync(fluxbox->getXDisplay(), True);
|
||||
}
|
||||
|
||||
updateNetizenCurrentWorkspace();
|
||||
|
|
Loading…
Reference in a new issue