aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-07-30 23:50:43 (GMT)
committermarkt <markt>2006-07-30 23:50:43 (GMT)
commitf031de3c32e26c7f71f7642f4bdab2f8ca7d90d2 (patch)
treef24e292a520b5f1468d4afbcb7caf38831fa6cc4 /src/Gnome.cc
parente66c3dd866bb1f7108b8dcecdc7c4dda37e95ee3 (diff)
downloadfluxbox_pavel-f031de3c32e26c7f71f7642f4bdab2f8ca7d90d2.zip
fluxbox_pavel-f031de3c32e26c7f71f7642f4bdab2f8ca7d90d2.tar.bz2
little cleanup, remove FluxboxWindow::isInitialized()
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 }