Patch to Remember.cc

"Andrey V. Elsukov" <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Organization The Kirov RDO
Message-ID <[email protected]>
When opens remembered maximized window and used apps:WINCENTER,
the window covers a toolbar. Subj fix this behavior.
-- 
WBR, Andrey V. Elsukov
Remember.cc.diff (text/plain, 566 B)
--- src/Remember.cc.orig	Fri May 13 16:09:17 2005
+++ src/Remember.cc	Tue May 24 03:00:41 2005
@@ -873,7 +873,8 @@
               break;
           case POS_WINCENTER: // the window is centered REALLY upon the center
                 win.move((screen.getHeadWidth(head) / 2) - ( win.width() / 2 ) + app->x,
-                         (screen.getHeadHeight(head) / 2) - ( win.height() / 2 ) + app->y);
+                         (screen.maxBottom(head) / 2) - ( win.height() / 2 ) + app->y +
+						 (screen.maxTop(head) / 2));
               break;
         };
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.