projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f5da3
)
Make "no" a valid choice for the dialog option in cyclewindows.c.
author
Dana Jansens
<danakj@orodu.net>
Tue, 30 Aug 2011 15:14:06 +0000
(11:14 -0400)
committer
Dana 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
patch
|
blob
|
history
diff --git
a/openbox/actions/cyclewindows.c
b/openbox/actions/cyclewindows.c
index ba019db2aecdf69b712e29e75f416b2eec405b7a..a56022c3626c4e112cca288dc880a4d376821740 100644
(file)
--- a/
openbox/actions/cyclewindows.c
+++ b/
openbox/actions/cyclewindows.c
@@
-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;
}