From: Dana Jansens Date: Fri, 26 Jul 2002 21:38:05 +0000 (+0000) Subject: let normal windows be netizens again X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=98c17f18099ea9198d61950f2f1537e4ea16702f;p=chaz%2Fopenbox let normal windows be netizens again --- 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);