aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 17d8c23..dbbc875 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -959,7 +959,7 @@ void BScreen::changeWorkspaceID(unsigned int id, bool revert) {
959 this->focusControl().ignoreAtPointer(); 959 this->focusControl().ignoreAtPointer();
960 960
961 FbTk::App::instance()->sync(false); 961 FbTk::App::instance()->sync(false);
962 XGrabServer(Fluxbox::instance()->display()); 962 Fluxbox::instance()->grab();
963 963
964 FluxboxWindow *focused = FocusControl::focusedFbWindow(); 964 FluxboxWindow *focused = FocusControl::focusedFbWindow();
965 965
@@ -997,7 +997,7 @@ void BScreen::changeWorkspaceID(unsigned int id, bool revert) {
997 997
998 old->hideAll(false); 998 old->hideAll(false);
999 999
1000 XUngrabServer(Fluxbox::instance()->display()); 1000 Fluxbox::instance()->ungrab();
1001 FbTk::App::instance()->sync(false); 1001 FbTk::App::instance()->sync(false);
1002 1002
1003 m_currentworkspace_sig.emit(*this); 1003 m_currentworkspace_sig.emit(*this);