summaryrefslogtreecommitdiff
path: root/openbox/action.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-03 18:11:39 +0000
committerDana Jansens <danakj@orodu.net>2003-09-03 18:11:39 +0000
commit806a8c411f10c7a2292bfac15d77c8609f56ee71 (patch)
treed56c0f2a4b05b00fef085ea69930603f10ee8f75 /openbox/action.c
parent40902496a01b21b950f3672bf2ae9e100ba9b95c (diff)
add a reconfigure action, also reconfigure on SIGUSR2.
support reconfiguring throughout the entire codebase.
Diffstat (limited to 'openbox/action.c')
-rw-r--r--openbox/action.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/openbox/action.c b/openbox/action.c
index f037944e..b4ec216b 100644
--- a/openbox/action.c
+++ b/openbox/action.c
@@ -601,6 +601,11 @@ ActionString actionstrings[] =
NULL
},
{
+ "reconfigure",
+ action_reconfigure,
+ NULL
+ },
+ {
"restart",
action_restart,
NULL
@@ -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);