From 3203526c22f6d65f9aeee21d12d6ec0616265d71 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 18 Dec 2001 17:43:49 +0000 Subject: Fixed sync with xserver when changing workspace --- src/Screen.cc | 6 +++--- 1 file 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) { 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(); -- cgit v0.11.2