summaryrefslogtreecommitdiff
path: root/src/manage.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/manage.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/manage.c')
-rw-r--r--src/manage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/manage.c b/src/manage.c
index 9076b16..36bb973 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -904,6 +904,9 @@ withdraw_window (rp_window *win)
XSync (dpy, False);
ignore_badwindow--;
+
+ /* Call our hook */
+ hook_run (&rp_delete_window_hook);
}
/* Hide all other mapped windows except for win in win's frame. */