aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-05-25 22:14:03 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-05-25 22:14:03 (GMT)
commitc1d400b436e38b6f989adfc2a3d7f1de4f1d13d1 (patch)
tree4e84c9ae2359fd9af7de31930cbcc230c2c3cb57 /src/Remember.cc
parent46bca62a9cd8052bd8749da8b1aa7539d5fe8c23 (diff)
downloadfluxbox-c1d400b436e38b6f989adfc2a3d7f1de4f1d13d1.zip
fluxbox-c1d400b436e38b6f989adfc2a3d7f1de4f1d13d1.tar.bz2
another fix for saving and restoring window dimensions
Diffstat (limited to 'src/Remember.cc')
-rw-r--r--src/Remember.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 2bd691f..ff0094c 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -978,8 +978,7 @@ void Remember::rememberAttrib(WinClient &winclient, Attribute attrib) {
978 app->rememberHead(win->screen().getHead(win->fbWindow())); 978 app->rememberHead(win->screen().getHead(win->fbWindow()));
979 break; 979 break;
980 case REM_DIMENSIONS: 980 case REM_DIMENSIONS:
981 //!! Note: This is odd, why dont we need to substract border width on win->width() ? 981 app->rememberDimensions(win->normalWidth(), win->normalHeight());
982 app->rememberDimensions(win->normalWidth(), win->normalHeight() - 2 * win->fbWindow().borderWidth());
983 break; 982 break;
984 case REM_POSITION: { 983 case REM_POSITION: {
985 int head = win->screen().getHead(win->fbWindow()); 984 int head = win->screen().getHead(win->fbWindow());