summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 1e228eff..b978f563 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -598,9 +598,9 @@ static void event_handle_root(XEvent *e)
screen_show_desktop(e->xclient.data.l[0] != 0);
} else if (msgtype == prop_atoms.ob_control) {
if ((Atom)e->xclient.data.l[0] == 1)
- action_run_string("reconfigure", NULL);
+ ob_reconfigure();
else if ((Atom)e->xclient.data.l[0] == 2)
- action_run_string("restart", NULL);
+ ob_restart();
}
break;
case PropertyNotify: