diff options
author | sabetts <sabetts> | 2003-10-15 22:26:19 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-10-15 22:26:19 +0000 |
commit | 0064759b73fd747eda2b28d5d89ab7d5c3cacba9 (patch) | |
tree | 31c46c07f0cd495e02958c5693001c5cd70398ff /doc | |
parent | f6780b3be38416b4a533de850f546c6f8aa8c5b8 (diff) | |
download | ratpoison-0064759b73fd747eda2b28d5d89ab7d5c3cacba9.zip |
* src/globals.c (rp_hook_db): add hooks quit and restart
(rp_quit_hook): new global
(rp_restart_hook): likewise
* src/events.c (handle_signals): call the restart and quit hooks
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ratpoison.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi index cc29633..e47d6e0 100644 --- a/doc/ratpoison.texi +++ b/doc/ratpoison.texi @@ -486,6 +486,10 @@ Run when the user switches to another frame. This is also run when the user switches to a different screen, since a frame switch also occurs. @item switchgroup Run when the user switches to a different group. +@item quit +Run when ratpoison exits. +@item restart +Run when ratpoison restarts. @end table @end deffn |