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>
Fri, 14 Oct 2011 20:06:25 +0000 (16:06 -0400)
It is the same as "none" for backward compatibility (it used to be a boolean).

openbox/actions/cyclewindows.c

index ba019db2aecdf69b712e29e75f416b2eec405b7a..a56022c3626c4e112cca288dc880a4d376821740 100644 (file)
@@ -83,6 +83,8 @@ static gpointer setup_func(GHashTable *config,
         const gchar *s = config_value_string(v);
         if (g_strcasecmp(s, "none") == 0)
             o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_NONE;
+        else if (g_strcasecmp(s, "no") == 0)
+            o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_NONE;
         else if (g_strcasecmp(s, "icons") == 0)
             o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_ICONS;
     }