fixed the groups file for the last time

This commit is contained in:
markt 2007-06-30 04:15:55 +00:00
parent 8fbeaf279e
commit 8e75ace959
3 changed files with 10 additions and 2 deletions

View file

@ -1,6 +1,8 @@
(Format: Year/Month/Day)
Changes for 1.0.0:
*07/06/30:
* Fixed the groups file, even though it's deprecated (Mark)
Workspace.cc Screen.cc
* Fix _NET_WM_STATE_DEMANDS_ATTENTION with tabbed windows, #1732392 (Mark)
Ewmh.cc/hh
*07/06/29:

View file

@ -1465,6 +1465,10 @@ FluxboxWindow *BScreen::createWindow(Window client) {
delete win;
return 0;
}
Workspace *workspace = getWorkspace(win->workspaceNumber());
if (workspace && !Fluxbox::instance()->isStartup())
workspace->checkGrouping(*win);
}
}

View file

@ -326,8 +326,10 @@ bool Workspace::checkGrouping(FluxboxWindow &win) {
#ifdef DEBUG
cerr<<__FILE__<<"("<<__FUNCTION__<<"): window ("<<*wit<<") attaching window ("<<&win<<")"<<endl;
#endif // DEBUG
(*wit)->attachClient(win.winClient());
(*wit)->raise();
WinClient &client = win.winClient();
(*wit)->attachClient(client);
if (client.screen().focusControl().focusNew())
(*wit)->setCurrentClient(client);
return true; // grouping done
}