aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
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());