Do not break server grabs
We have a nifty counter-based grab, so use it
This commit is contained in:
parent
52c9f6257d
commit
4be68df4b5
1 changed files with 2 additions and 2 deletions
|
@ -959,7 +959,7 @@ void BScreen::changeWorkspaceID(unsigned int id, bool revert) {
|
|||
this->focusControl().ignoreAtPointer();
|
||||
|
||||
FbTk::App::instance()->sync(false);
|
||||
XGrabServer(Fluxbox::instance()->display());
|
||||
Fluxbox::instance()->grab();
|
||||
|
||||
FluxboxWindow *focused = FocusControl::focusedFbWindow();
|
||||
|
||||
|
@ -997,7 +997,7 @@ void BScreen::changeWorkspaceID(unsigned int id, bool revert) {
|
|||
|
||||
old->hideAll(false);
|
||||
|
||||
XUngrabServer(Fluxbox::instance()->display());
|
||||
Fluxbox::instance()->ungrab();
|
||||
FbTk::App::instance()->sync(false);
|
||||
|
||||
m_currentworkspace_sig.emit(*this);
|
||||
|
|
Loading…
Reference in a new issue