aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-01-26 17:18:14 (GMT)
committermarkt <markt>2007-01-26 17:18:14 (GMT)
commit46fff8bf344b31c2b4e0f777312bfad22a6fcd26 (patch)
tree5dd798f6af2b538264a1b5f819bb3ffd0a3aae2a /src/Screen.cc
parent0f07f98ae22cc769a57e85c19ecb5397c2084488 (diff)
downloadfluxbox-46fff8bf344b31c2b4e0f777312bfad22a6fcd26.zip
fluxbox-46fff8bf344b31c2b4e0f777312bfad22a6fcd26.tar.bz2
little cleanup
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);