projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5fdb5cb
)
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>
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
patch
|
blob
|
history
diff --git
a/openbox/actions/cyclewindows.c
b/openbox/actions/cyclewindows.c
index
bbcb658
..
5f0db27
100644
(file)
--- 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;
}