aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-05-04 17:13:50 (GMT)
committermarkt <markt>2007-05-04 17:13:50 (GMT)
commitdb2904e1445bfe09c7ea55e2d67f4e51aeca292f (patch)
treed58b0fd966562b083ef8e50bf48c9cf936b2ddfb /src/Window.cc
parent5eb658a51fbe8fdb4efdc9379f1bc5bffe86931c (diff)
downloadfluxbox_pavel-db2904e1445bfe09c7ea55e2d67f4e51aeca292f.zip
fluxbox_pavel-db2904e1445bfe09c7ea55e2d67f4e51aeca292f.tar.bz2
fix infinite loop caused by deiconify command
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc2
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()));