summaryrefslogtreecommitdiff
path: root/src/globals.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2005-12-11 20:28:53 +0000
committersabetts <sabetts>2005-12-11 20:28:53 +0000
commitae3d3bf8e237e6f327ac3387159aee94d597ca6b (patch)
treefaa87979caab181f6d6f588713271a22830a408a /src/globals.c
parent9aef2e251687767f106b68f716ad0a899cb0ebfa (diff)
downloadratpoison-ae3d3bf8e237e6f327ac3387159aee94d597ca6b.zip
* src/manage.c (withdraw_window): call rp_delete_window_hook hook
* src/globals.c: new hook rp_delete_window_hook
Diffstat (limited to 'src/globals.c')
-rw-r--r--src/globals.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/globals.c b/src/globals.c
index 2a954fd..b7306a6 100644
--- a/src/globals.c
+++ b/src/globals.c
@@ -223,12 +223,14 @@ LIST_HEAD (rp_switch_frame_hook);
LIST_HEAD (rp_switch_group_hook);
LIST_HEAD (rp_quit_hook);
LIST_HEAD (rp_restart_hook);
+LIST_HEAD (rp_delete_window_hook);
struct rp_hook_db_entry rp_hook_db[]=
{{"key", &rp_key_hook},
{"switchwin", &rp_switch_win_hook},
{"switchframe", &rp_switch_frame_hook},
{"switchgroup", &rp_switch_group_hook},
+ {"deletewindow", &rp_delete_window_hook},
{"quit", &rp_quit_hook},
{"restart", &rp_restart_hook},
{NULL, NULL}};