From 806a8c411f10c7a2292bfac15d77c8609f56ee71 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 3 Sep 2003 18:11:39 +0000 Subject: add a reconfigure action, also reconfigure on SIGUSR2. support reconfiguring throughout the entire codebase. --- openbox/action.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'openbox/action.c') diff --git a/openbox/action.c b/openbox/action.c index f037944e..b4ec216b 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -600,6 +600,11 @@ ActionString actionstrings[] = action_desktop_last, NULL }, + { + "reconfigure", + action_reconfigure, + NULL + }, { "restart", action_restart, @@ -1094,6 +1099,11 @@ void action_moveresize(union ActionData *data) data->moveresize.button, data->moveresize.corner); } +void action_reconfigure(union ActionData *data) +{ + ob_reconfigure(); +} + void action_restart(union ActionData *data) { ob_restart_other(data->execute.path); -- cgit v1.2.3