diff options
| author | Dana Jansens <danakj@orodu.net> | 2011-08-30 11:14:06 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2011-10-05 13:42:44 -0400 |
| commit | 8e4fcae64d029fbe5f0edc444b0152d6d4b512e3 (patch) | |
| tree | 17d8ac77ce4c90362d793fd7f6c4d02b82f6cf05 /openbox | |
| parent | 5fdb5cb7ddc18c1c00fa79472d2e199ab8570a06 (diff) | |
Make "no" a valid choice for the dialog option in cyclewindows.c.
It is the same as "none" for backward compatibility (it used to be a boolean).
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/actions/cyclewindows.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/actions/cyclewindows.c b/openbox/actions/cyclewindows.c index bbcb6585..5f0db27c 100644 --- a/openbox/actions/cyclewindows.c +++ b/openbox/actions/cyclewindows.c @@ -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; } |
