aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index a50d1ba..30cc4d3 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1131,13 +1131,11 @@ void BScreen::changeWorkspaceID(unsigned int id) {
1131 1131
1132 currentWorkspace()->showAll(); 1132 currentWorkspace()->showAll();
1133 1133
1134 if (focused && focused->isMoving()) 1134 if (focused && focused->isMoving()) {
1135 focused->setInputFocus(); 1135 focused->setInputFocus();
1136 else
1137 FocusControl::revertFocus(*this);
1138
1139 if (focused && focused->isMoving())
1140 focused->resumeMoving(); 1136 focused->resumeMoving();
1137 } else
1138 FocusControl::revertFocus(*this);
1141 1139
1142 updateNetizenCurrentWorkspace(); 1140 updateNetizenCurrentWorkspace();
1143 FbTk::App::instance()->sync(false); 1141 FbTk::App::instance()->sync(false);