diff options
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r-- | src/Workspace.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index fd81e5e..888c20a 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -326,8 +326,10 @@ bool Workspace::checkGrouping(FluxboxWindow &win) { | |||
326 | #ifdef DEBUG | 326 | #ifdef DEBUG |
327 | cerr<<__FILE__<<"("<<__FUNCTION__<<"): window ("<<*wit<<") attaching window ("<<&win<<")"<<endl; | 327 | cerr<<__FILE__<<"("<<__FUNCTION__<<"): window ("<<*wit<<") attaching window ("<<&win<<")"<<endl; |
328 | #endif // DEBUG | 328 | #endif // DEBUG |
329 | (*wit)->attachClient(win.winClient()); | 329 | WinClient &client = win.winClient(); |
330 | (*wit)->raise(); | 330 | (*wit)->attachClient(client); |
331 | if (client.screen().focusControl().focusNew()) | ||
332 | (*wit)->setCurrentClient(client); | ||
331 | return true; // grouping done | 333 | return true; // grouping done |
332 | 334 | ||
333 | } | 335 | } |