diff --git a/openbox/actions/exit.c b/openbox/actions/exit.c index 19b78e9c..747514f6 100644 --- a/openbox/actions/exit.c +++ b/openbox/actions/exit.c @@ -21,6 +21,7 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node) Options *o; o = g_new0(Options, 1); + o->prompt = TRUE; if ((n = parse_find_node("prompt", node))) o->prompt = parse_bool(doc, n); diff --git a/openbox/actions/session.c b/openbox/actions/session.c index 0031a273..0117e07c 100644 --- a/openbox/actions/session.c +++ b/openbox/actions/session.c @@ -27,6 +27,7 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node) Options *o; o = g_new0(Options, 1); + o->prompt = TRUE; if ((n = parse_find_node("prompt", node))) o->prompt = parse_bool(doc, n);