Make "no" a valid choice for the dialog option in cyclewindows.c.
authorDana Jansens <danakj@orodu.net>
Tue, 30 Aug 2011 15:14:06 +0000 (11:14 -0400)
committerDana Jansens <danakj@orodu.net>
Wed, 5 Oct 2011 17:42:44 +0000 (13:42 -0400)
It is the same as "none" for backward compatibility (it used to be a boolean).

openbox/actions/cyclewindows.c

index bbcb658..5f0db27 100644 (file)
@@ -75,6 +75,8 @@ static gpointer setup_func(xmlNodePtr node,
     if ((n = obt_xml_find_node(node, "dialog"))) {
         if (obt_xml_node_contains(n, "none"))
             o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_NONE;
+        else if (obt_xml_node_contains(n, "no"))
+            o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_NONE;
         else if (obt_xml_node_contains(n, "icons"))
             o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_ICONS;
     }