diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-03 18:11:39 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-03 18:11:39 +0000 |
| commit | 806a8c411f10c7a2292bfac15d77c8609f56ee71 (patch) | |
| tree | d56c0f2a4b05b00fef085ea69930603f10ee8f75 /openbox/event.c | |
| parent | 40902496a01b21b950f3672bf2ae9e100ba9b95c (diff) | |
add a reconfigure action, also reconfigure on SIGUSR2.
support reconfiguring throughout the entire codebase.
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/openbox/event.c b/openbox/event.c index 88294cc7..0510dab2 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -106,8 +106,10 @@ static void sn_handler(const XEvent *e, gpointer display) #endif -void event_startup() +void event_startup(gboolean reconfig) { + if (reconfig) return; + mask_table_size = sizeof(mask_table) / sizeof(mask_table[0]); /* get lock masks that are defined by the display (not constant) */ @@ -146,8 +148,10 @@ void event_startup() client_add_destructor(focus_delay_client_dest); } -void event_shutdown() +void event_shutdown(gboolean reconfig) { + if (reconfig) return; + client_remove_destructor(focus_delay_client_dest); XFreeModifiermap(modmap); } |
