aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r--src/Gnome.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc
index 917c810..81803dd 100644
--- a/src/Gnome.cc
+++ b/src/Gnome.cc
@@ -242,7 +242,7 @@ void Gnome::updateWorkspaceCount(BScreen &screen) {
242} 242}
243 243
244void Gnome::updateWorkspace(FluxboxWindow &win) { 244void Gnome::updateWorkspace(FluxboxWindow &win) {
245 long val = win.isInitialized() ? win.workspaceNumber() : win.screen().currentWorkspaceID(); 245 long val = win.workspaceNumber();
246 if (win.isStuck()) { 246 if (win.isStuck()) {
247 val = -1; 247 val = -1;
248 } 248 }