]> Dogcows Code - chaz/openbox/commitdiff
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 bbcb6585a11422e22001bf22ab8925af321c13cd..5f0db27cb5173c0f6e09a9a9e944e428548bb945 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;
     }
This page took 0.019242 seconds and 4 git commands to generate.