diff options
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/event.c b/openbox/event.c index 42fd26ba..daf87f54 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -596,6 +596,11 @@ static void event_handle_root(XEvent *e) screen_set_num_desktops(d); } else if (msgtype == prop_atoms.net_showing_desktop) { screen_show_desktop(e->xclient.data.l[0] != 0); + } else if (msgtype == prop_atoms.ob_control) { + if ((Atom)e->xclient.data.l[0] == prop_atoms.ob_reconfigure) + action_run_string("reconfigure", NULL); + else if ((Atom)e->xclient.data.l[0] == prop_atoms.ob_restart) + action_run_string("restart", NULL); } break; case PropertyNotify: |
