diff options
author | markt <markt> | 2006-07-30 23:58:08 (GMT) |
---|---|---|
committer | markt <markt> | 2006-07-30 23:58:08 (GMT) |
commit | fc550ba2e038c20280f563f13d7746ed3acfcc55 (patch) | |
tree | e065e9b589bf3572fb1a9c617ddb49ef33e071f0 /src | |
parent | f031de3c32e26c7f71f7642f4bdab2f8ca7d90d2 (diff) | |
download | fluxbox_paul-fc550ba2e038c20280f563f13d7746ed3acfcc55.zip fluxbox_paul-fc550ba2e038c20280f563f13d7746ed3acfcc55.tar.bz2 |
whoops
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 3 |
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()) |