diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc index e4ade8e..cbbf7a4 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -466,7 +466,7 @@ void FluxboxWindow::init() { | |||
466 | 466 | ||
467 | restoreAttributes(); | 467 | restoreAttributes(); |
468 | 468 | ||
469 | if (m_workspace_number < 0 || m_workspace_number >= screen().numberOfWorkspaces()) | 469 | if (m_workspace_number >= screen().numberOfWorkspaces()) |
470 | m_workspace_number = screen().currentWorkspaceID(); | 470 | m_workspace_number = screen().currentWorkspaceID(); |
471 | 471 | ||
472 | bool place_window = (m_old_pos_x == static_cast<signed>(m_screen.width())); | 472 | bool place_window = (m_old_pos_x == static_cast<signed>(m_screen.width())); |