aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-11 13:36:12 (GMT)
committerfluxgen <fluxgen>2003-05-11 13:36:12 (GMT)
commitaa72e23c8e1f6decf0bb78f8bd909e3e67b3a9da (patch)
tree9e8f1c81637c6e000127ed32f794e166eb4ac6a3 /src/Remember.cc
parent816190411a9e5bd6cdfaa9d579f84be348a2f1bc (diff)
downloadfluxbox-aa72e23c8e1f6decf0bb78f8bd909e3e67b3a9da.zip
fluxbox-aa72e23c8e1f6decf0bb78f8bd909e3e67b3a9da.tar.bz2
minor cleaning
Diffstat (limited to 'src/Remember.cc')
-rw-r--r--src/Remember.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index e2729d7..e82c1aa 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -21,7 +21,7 @@
21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22// DEALINGS IN THE SOFTWARE. 22// DEALINGS IN THE SOFTWARE.
23 23
24// $Id: Remember.cc,v 1.12 2003/05/10 22:47:55 fluxgen Exp $ 24// $Id: Remember.cc,v 1.13 2003/05/11 13:36:10 fluxgen Exp $
25 25
26#include "Remember.hh" 26#include "Remember.hh"
27#include "StringUtil.hh" 27#include "StringUtil.hh"
@@ -97,7 +97,7 @@ private:
97FbTk::Menu *createRememberMenu(Remember &remember, FluxboxWindow &win) { 97FbTk::Menu *createRememberMenu(Remember &remember, FluxboxWindow &win) {
98 // each fluxboxwindow has its own windowmenu 98 // each fluxboxwindow has its own windowmenu
99 // so we also create a remember menu just for it... 99 // so we also create a remember menu just for it...
100 BScreen &screen = win.getScreen(); 100 BScreen &screen = win.screen();
101 FbTk::Menu *menu = new FbMenu(*screen.menuTheme(), 101 FbTk::Menu *menu = new FbMenu(*screen.menuTheme(),
102 screen.getScreenNumber(), 102 screen.getScreenNumber(),
103 *screen.getImageControl(), 103 *screen.getImageControl(),
@@ -465,7 +465,7 @@ void Remember::rememberAttrib(WinClient &winclient, Attribute attrib) {
465 app->rememberWorkspace(win->getWorkspaceNumber()); 465 app->rememberWorkspace(win->getWorkspaceNumber());
466 break; 466 break;
467 case REM_DIMENSIONS: 467 case REM_DIMENSIONS:
468 app->rememberDimensions(win->getWidth(), win->getHeight()); 468 app->rememberDimensions(win->width(), win->height());
469 break; 469 break;
470 case REM_POSITION: 470 case REM_POSITION:
471 app->rememberPosition(win->getXFrame(), win->getYFrame()); 471 app->rememberPosition(win->getXFrame(), win->getYFrame());
@@ -573,7 +573,7 @@ void Remember::setupWindow(FluxboxWindow &win) {
573 if (app == 0) 573 if (app == 0)
574 return; // nothing to do 574 return; // nothing to do
575 575
576 BScreen &screen = win.getScreen(); 576 BScreen &screen = win.screen();
577 577
578 if (app->workspace_remember) { 578 if (app->workspace_remember) {
579 // TODO: fix placement to initialise properly 579 // TODO: fix placement to initialise properly
@@ -631,7 +631,7 @@ void Remember::updateWindowClose(FluxboxWindow &win) {
631 if (app->workspace_remember) 631 if (app->workspace_remember)
632 app->rememberWorkspace(win.getWorkspaceNumber()); 632 app->rememberWorkspace(win.getWorkspaceNumber());
633 if (app->dimensions_remember) 633 if (app->dimensions_remember)
634 app->rememberDimensions(win.getWidth(), win.getHeight()); 634 app->rememberDimensions(win.width(), win.height());
635 if (app->position_remember) 635 if (app->position_remember)
636 app->rememberPosition(win.getXFrame(), win.getYFrame()); 636 app->rememberPosition(win.getXFrame(), win.getYFrame());
637 if (app->shadedstate_remember) 637 if (app->shadedstate_remember)