From fc085fd66c2b06281df959285c5046fa5994e19e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 2 Mar 2008 03:18:38 -0500 Subject: [PATCH] make the prompt option default to 'true' for Exit and SessionLogout --- openbox/actions/exit.c | 1 + openbox/actions/session.c | 1 + 2 files changed, 2 insertions(+) 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); -- 2.45.2