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 066d962..24fc8df 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -458,7 +458,7 @@ void FluxboxWindow::init() { | |||
458 | 458 | ||
459 | restoreAttributes(); | 459 | restoreAttributes(); |
460 | 460 | ||
461 | if (m_workspace_number < 0 || m_workspace_number >= screen().numberOfWorkspaces()) | 461 | if (m_workspace_number >= screen().numberOfWorkspaces()) |
462 | m_workspace_number = screen().currentWorkspaceID(); | 462 | m_workspace_number = screen().currentWorkspaceID(); |
463 | 463 | ||
464 | bool place_window = (m_old_pos_x == static_cast<signed>(m_screen.width())); | 464 | bool place_window = (m_old_pos_x == static_cast<signed>(m_screen.width())); |