aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Remember.cc')
-rw-r--r--src/Remember.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 12b5097..30a3e14 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -905,13 +905,13 @@ void Remember::rememberAttrib(WinClient &winclient, Attribute attrib) {
905 break; 905 break;
906 case REM_DIMENSIONS: 906 case REM_DIMENSIONS:
907 //!! Note: This is odd, why dont we need to substract border width on win->width() ? 907 //!! Note: This is odd, why dont we need to substract border width on win->width() ?
908 app->rememberDimensions(win->width(), win->height() - 2 * win->fbWindow().borderWidth()); 908 app->rememberDimensions(win->normalWidth(), win->normalHeight() - 2 * win->fbWindow().borderWidth());
909 break; 909 break;
910 case REM_POSITION: { 910 case REM_POSITION: {
911 int head = win->screen().getHead(win->fbWindow()); 911 int head = win->screen().getHead(win->fbWindow());
912 int head_x = win->screen().getHeadX(head); 912 int head_x = win->screen().getHeadX(head);
913 int head_y = win->screen().getHeadY(head); 913 int head_y = win->screen().getHeadY(head);
914 app->rememberPosition(win->x() - head_x, win->y() - head_y); 914 app->rememberPosition(win->normalX() - head_x, win->normalY() - head_y);
915 break; 915 break;
916 } 916 }
917 case REM_FOCUSHIDDENSTATE: 917 case REM_FOCUSHIDDENSTATE: