aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Remember.cc')
-rw-r--r--src/Remember.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 0ea8a6c..0fa778f 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -1115,15 +1115,15 @@ void Remember::rememberAttrib(WinClient &winclient, Attribute attrib) {
1115 app->rememberHead(win->screen().getHead(win->fbWindow())); 1115 app->rememberHead(win->screen().getHead(win->fbWindow()));
1116 break; 1116 break;
1117 case REM_DIMENSIONS: 1117 case REM_DIMENSIONS:
1118 app->rememberDimensions(win->frame().normalWidth(), 1118 app->rememberDimensions(win->normalWidth(),
1119 win->frame().normalHeight()); 1119 win->normalHeight());
1120 break; 1120 break;
1121 case REM_POSITION: { 1121 case REM_POSITION: {
1122 int head = win->screen().getHead(win->fbWindow()); 1122 int head = win->screen().getHead(win->fbWindow());
1123 int head_x = win->screen().maxLeft(head); 1123 int head_x = win->screen().maxLeft(head);
1124 int head_y = win->screen().maxTop(head); 1124 int head_y = win->screen().maxTop(head);
1125 app->rememberPosition(win->frame().normalX() - head_x, 1125 app->rememberPosition(win->normalX() - head_x,
1126 win->frame().normalY() - head_y); 1126 win->normalY() - head_y);
1127 break; 1127 break;
1128 } 1128 }
1129 case REM_FOCUSHIDDENSTATE: 1129 case REM_FOCUSHIDDENSTATE: