summaryrefslogtreecommitdiff
path: root/openbox/actions/shade.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/actions/shade.c')
-rw-r--r--openbox/actions/shade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/actions/shade.c b/openbox/actions/shade.c
index f5c111b9..d28f91ed 100644
--- a/openbox/actions/shade.c
+++ b/openbox/actions/shade.c
@@ -27,7 +27,7 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node)
o = g_new0(Options, 1);
o->toggle = TRUE;
- if ((n = parse_find_node("shade", node))) {
+ if ((n = parse_find_node("state", node))) {
gchar *s = parse_string(doc, n);
if (g_ascii_strcasecmp(s, "toggle")) {
o->toggle = FALSE;