]> Dogcows Code - chaz/openbox/commitdiff
let normal windows be netizens again
authorDana Jansens <danakj@orodu.net>
Fri, 26 Jul 2002 21:38:05 +0000 (21:38 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 26 Jul 2002 21:38:05 +0000 (21:38 +0000)
src/Window.cc

index 48cfe4a54c53a5b813472153eab5f376966ef7dd..97393e5f1b37a6f62befeceae58c75e91800cbb2 100644 (file)
@@ -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);
This page took 0.030395 seconds and 4 git commands to generate.