aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-27 20:29:35 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-27 20:29:35 (GMT)
commita2ec0c9bdd9ebcc713426a79209b9ca90b4db301 (patch)
tree3d7b659c38f3b01e4e09a4887dc7b7cf1f73689b /src/Remember.cc
parent84c87a86f9365014b7425c56a2a1051c102df804 (diff)
downloadfluxbox-a2ec0c9bdd9ebcc713426a79209b9ca90b4db301.zip
fluxbox-a2ec0c9bdd9ebcc713426a79209b9ca90b4db301.tar.bz2
make FbWinFrame and FluxboxWindow share a WindowState object
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: