all repos — openbox @ ef414287e51d0221685a3008d40d5093bec2d18e

openbox fork - make it a bit more like ryudo

fire the destroy fnuction for timers when they are removed
Dana Jansens danakj@orodu.net
commit

ef414287e51d0221685a3008d40d5093bec2d18e

parent

ba38a0c856e9aaef01087802d552c45ccbd16b7e

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M openbox/mainloop.copenbox/mainloop.c

@@ -674,6 +674,8 @@ */

if (curr->del_me) { /* delete the top */ loop->timers = g_slist_delete_link(loop->timers, it); + if (curr->destroy) + curr->destroy(curr->data); g_free(curr); continue; }