aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2001-12-18 17:43:49 (GMT)
committerfluxgen <fluxgen>2001-12-18 17:43:49 (GMT)
commit3203526c22f6d65f9aeee21d12d6ec0616265d71 (patch)
tree5064394295213aae1d9f250f3528be438f3538cd /src/Screen.cc
parent69a4f16e5fba81f4124937758a86f0d3d7a02463 (diff)
downloadfluxbox-3203526c22f6d65f9aeee21d12d6ec0616265d71.zip
fluxbox-3203526c22f6d65f9aeee21d12d6ec0616265d71.tar.bz2
Fixed sync with xserver when changing workspace
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 2d04566..251284a 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -671,10 +671,10 @@ void BScreen::changeWorkspaceID(int id) {
671 671
672 current_workspace->showAll(); 672 current_workspace->showAll();
673 673
674 if (resource.focus_last && current_workspace->getLastFocusedWindow()) { 674 if (resource.focus_last && current_workspace->getLastFocusedWindow())
675 XSync(fluxbox->getXDisplay(), False);
676 current_workspace->getLastFocusedWindow()->setInputFocus(); 675 current_workspace->getLastFocusedWindow()->setInputFocus();
677 } 676
677 XSync(fluxbox->getXDisplay(), True);
678 } 678 }
679 679
680 updateNetizenCurrentWorkspace(); 680 updateNetizenCurrentWorkspace();