aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkt <markt>2006-07-30 23:58:08 (GMT)
committermarkt <markt>2006-07-30 23:58:08 (GMT)
commitfc550ba2e038c20280f563f13d7746ed3acfcc55 (patch)
treee065e9b589bf3572fb1a9c617ddb49ef33e071f0 /src
parentf031de3c32e26c7f71f7642f4bdab2f8ca7d90d2 (diff)
downloadfluxbox_paul-fc550ba2e038c20280f563f13d7746ed3acfcc55.zip
fluxbox_paul-fc550ba2e038c20280f563f13d7746ed3acfcc55.tar.bz2
whoops
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index ccdc613..f6c7242 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -508,6 +508,9 @@ void FluxboxWindow::init() {
508 508
509 restoreAttributes(); 509 restoreAttributes();
510 510
511 if (m_workspace_number < 0 || m_workspace_number >= screen().numberOfWorkspaces())
512 m_workspace_number = screen().currentWorkspaceID();
513
511 bool place_window = (m_old_pos_x == 0); 514 bool place_window = (m_old_pos_x == 0);
512 515
513 if (fluxbox.isStartup()) 516 if (fluxbox.isStartup())