aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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())