diff options
author | simonb <simonb> | 2005-05-13 11:01:01 (GMT) |
---|---|---|
committer | simonb <simonb> | 2005-05-13 11:01:01 (GMT) |
commit | 5175ac3a404744126eb3f27d3af2c38b6c8ea1d3 (patch) | |
tree | 654f00266a86d0e324dbf97d051192b5b7b7a2af /src/Remember.cc | |
parent | 8a249bfb1bb3be41a2a7903eacfb1d027c7fdadd (diff) | |
download | fluxbox-5175ac3a404744126eb3f27d3af2c38b6c8ea1d3.zip fluxbox-5175ac3a404744126eb3f27d3af2c38b6c8ea1d3.tar.bz2 |
fix a segfault
Diffstat (limited to 'src/Remember.cc')
-rw-r--r-- | src/Remember.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Remember.cc b/src/Remember.cc index b15a861..e3d3db0 100644 --- a/src/Remember.cc +++ b/src/Remember.cc | |||
@@ -828,8 +828,8 @@ void Remember::setupFrame(FluxboxWindow &win) { | |||
828 | BScreen &screen = winclient.screen(); | 828 | BScreen &screen = winclient.screen(); |
829 | 829 | ||
830 | if (app->workspace_remember) { | 830 | if (app->workspace_remember) { |
831 | // TODO: fix placement to initialise properly | 831 | // we use setWorkspace and not reassoc because we're still initialising |
832 | screen.reassociateWindow(&win, app->workspace, true); | 832 | win.setWorkspace(app->workspace); |
833 | if (app->jumpworkspace_remember) | 833 | if (app->jumpworkspace_remember) |
834 | screen.changeWorkspaceID(app->workspace); | 834 | screen.changeWorkspaceID(app->workspace); |
835 | } | 835 | } |