aboutsummaryrefslogtreecommitdiff
path: root/hooks.c
Commit message (Collapse)AuthorAge
* Add infrastructure to work out the best target given a pane or windownicm2015-12-16
| | | | alone and use it to add pane_died and pane_exited hooks.
* Some hooks API changes to fire a hook while waiting another cmdq andnicm2015-12-15
| | | | infrastructure that will be needed soon.
* We cannot do hooks_find and then hooks_remove because it might have comenicm2015-12-11
| | | | | | | from the parent (global) tree, instead make it remove by name like options. While here, also tidy up a few bits of options and hooks handling (use RB_FOREACH_SAFE, and a helper function for the free).
* Add hooks infrastructure, basic commands (set-hook, show-hooks) and anicm2015-12-08
couple of not very useful client hooks. This will eventually let commands be run at various points and on notifications. Joint work with Thomas Adam.