diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-26 21:38:05 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-26 21:38:05 +0000 |
| commit | 98c17f18099ea9198d61950f2f1537e4ea16702f (patch) | |
| tree | b91e1f013a8c582e7a69f6f3ba3b1aeb1d5ba000 /src | |
| parent | d2ab586410c9919f0b2e5b84f3447ff29617c5b1 (diff) | |
let normal windows be netizens again
Diffstat (limited to 'src')
| -rw-r--r-- | src/Window.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index 48cfe4a5..97393e5f 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -1067,9 +1067,10 @@ void BlackboxWindow::getWMProtocols(void) { if (proto[i] == xatom->getAtom(XAtom::wm_delete_window)) { decorations |= Decor_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; - } + else if (proto[i] == xatom->getAtom(XAtom::blackbox_structure_messages)) + screen->addNetizen(new Netizen(screen, client.window)); } XFree(proto); |
