fix case where the window group deletes itself. somehow missed this while syncing! :(
This commit is contained in:
parent
3312a209d7
commit
c6a826bf66
1 changed files with 6 additions and 3 deletions
|
@ -1094,9 +1094,12 @@ void BlackboxWindow::getWMHints(void) {
|
|||
|
||||
// add window to the appropriate group
|
||||
BWindowGroup *group = blackbox->searchGroup(client.window_group);
|
||||
if (! group) // no group found, create it!
|
||||
group = new BWindowGroup(blackbox, client.window_group);
|
||||
group->addWindow(this);
|
||||
if (! group) { // no group found, create it!
|
||||
new BWindowGroup(blackbox, client.window_group);
|
||||
group = blackbox->searchGroup(client.window_group);
|
||||
}
|
||||
if (group)
|
||||
group->addWindow(this);
|
||||
}
|
||||
|
||||
client.wm_hint_flags = wmhint->flags;
|
||||
|
|
Loading…
Reference in a new issue