let normal windows be netizens again
This commit is contained in:
parent
d2ab586410
commit
98c17f1809
1 changed files with 3 additions and 2 deletions
|
@ -1067,9 +1067,10 @@ void BlackboxWindow::getWMProtocols(void) {
|
||||||
if (proto[i] == xatom->getAtom(XAtom::wm_delete_window)) {
|
if (proto[i] == xatom->getAtom(XAtom::wm_delete_window)) {
|
||||||
decorations |= Decor_Close;
|
decorations |= Decor_Close;
|
||||||
functions |= Func_Close;
|
functions |= Func_Close;
|
||||||
} else if (proto[i] == xatom->getAtom(XAtom::wm_take_focus)) {
|
} else if (proto[i] == xatom->getAtom(XAtom::wm_take_focus))
|
||||||
flags.send_focus_message = True;
|
flags.send_focus_message = True;
|
||||||
}
|
else if (proto[i] == xatom->getAtom(XAtom::blackbox_structure_messages))
|
||||||
|
screen->addNetizen(new Netizen(screen, client.window));
|
||||||
}
|
}
|
||||||
|
|
||||||
XFree(proto);
|
XFree(proto);
|
||||||
|
|
Loading…
Reference in a new issue