All pastes #291139 Raw Edit

Something

public cpp v1 · immutable
#291139 ·published 2006-12-24 20:18 UTC
rendered paste body
Index: src/Window.cc===================================================================--- src/Window.cc       (revision 4570)+++ src/Window.cc       (working copy)@@ -382,7 +382,7 @@ void FluxboxWindow::init() {     m_attaching_tab = 0;     // magic to detect if moved by hints-    m_old_pos_x = 0;+    m_old_pos_x = m_screen.width();     assert(m_client);     m_client->setFluxboxWindow(this);@@ -512,7 +512,7 @@     if (m_workspace_number < 0 || m_workspace_number >= screen().numberOfWorkspaces())         m_workspace_number = screen().currentWorkspaceID();-    bool place_window = (m_old_pos_x == 0);+    bool place_window = (m_old_pos_x == static_cast<signed>(m_screen.width()));     if (fluxbox.isStartup())         place_window = false;