diff options
author | markt <markt> | 2007-05-04 17:14:04 (GMT) |
---|---|---|
committer | markt <markt> | 2007-05-04 17:14:04 (GMT) |
commit | 0e778b94d955a8a41cfa298cc14748914a31ec3c (patch) | |
tree | bd0df9c60e08658892a09970f22af87d0a97ea28 /src/Window.cc | |
parent | f342b1758abe89b8e02905d9f31e9b766973d122 (diff) | |
download | fluxbox-0e778b94d955a8a41cfa298cc14748914a31ec3c.zip fluxbox-0e778b94d955a8a41cfa298cc14748914a31ec3c.tar.bz2 |
fixed infinite loop caused by deiconify command
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())); |