summaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-08-05 05:21:15 (GMT)
committermarkt <markt>2006-08-05 05:21:15 (GMT)
commit721c02204a5f00e7f1c59983df0b1549fe1e971b (patch)
tree52ceaccfc5e759a4363439307516c86bbb22fdca /src/Remember.cc
parentc65b949f97ea1eecd01fad961a42f2bd3be1ed0b (diff)
downloadfluxbox_lack-721c02204a5f00e7f1c59983df0b1549fe1e971b.zip
fluxbox_lack-721c02204a5f00e7f1c59983df0b1549fe1e971b.tar.bz2
a little fix for auto-grouping after restart
Diffstat (limited to 'src/Remember.cc')
-rw-r--r--src/Remember.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 29336e3..9569b80 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -965,7 +965,8 @@ void Remember::setupFrame(FluxboxWindow &win) {
965 // first, set the options that aren't preserved as window properties on 965 // first, set the options that aren't preserved as window properties on
966 // restart, then return if fluxbox is starting up -- we want restart to 966 // restart, then return if fluxbox is starting up -- we want restart to
967 // disturb the current window state as little as possible 967 // disturb the current window state as little as possible
968 if (app->is_grouped && app->group == 0) 968 Window leftwin = winclient.getGroupLeftWindow();
969 if (app->is_grouped && app->group == 0 && leftwin == None)
969 app->group = &win; 970 app->group = &win;
970 971
971 if (app->focushiddenstate_remember) 972 if (app->focushiddenstate_remember)