From: Dana Jansens Date: Sun, 2 Mar 2008 08:18:38 +0000 (-0500) Subject: make the prompt option default to 'true' for Exit and SessionLogout X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=fc085fd66c2b06281df959285c5046fa5994e19e;p=chaz%2Fopenbox make the prompt option default to 'true' for Exit and SessionLogout --- 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);