Moved XSync so it does a redraw
fluxgen fluxgen
1 files changed,
4 insertions(+),
3 deletions(-)
jump to
M
src/Screen.cc
→
src/Screen.cc
@@ -649,6 +649,8 @@ if (! current_workspace || id >= workspacesList->count() || id < 0)
return; if (id != current_workspace->getWorkspaceID()) { + XSync(fluxbox->getXDisplay(), True); + current_workspace->hideAll(); workspacemenu->setItemSelected(current_workspace->getWorkspaceID() + 2,@@ -672,9 +674,8 @@
current_workspace->showAll(); if (resource.focus_last && current_workspace->getLastFocusedWindow()) - current_workspace->getLastFocusedWindow()->setInputFocus(); - - XSync(fluxbox->getXDisplay(), True); + current_workspace->getLastFocusedWindow()->setInputFocus(); + } updateNetizenCurrentWorkspace();