diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-03-21 16:08:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-03-21 16:08:26 +0000 |
commit | 11acb26f8ba0d9cfe239c44002ea5d6c27c39250 (patch) | |
tree | 2c3169ec5d71b660a35fd878796d7aa6eaf17726 /usr.bin/tmux/attributes.c | |
parent | ff9aa3a975061758e959ffc2d5802e8608155f69 (diff) |
Miscellaneous tidying of choose API, including:
- rename client and session to start_client and start_session in
window_choose_data struct. also add TREE_OTHER define and reorder
the struct
- rename window_choose_ctx to window_choose_data_run
- don't pass a cmd_ctx into window_choose_create (will let it use a
different client later). instead take type, session, client
- add window_choose_data_free and use it to dispose of wcd rather than
each cmd-*.c doing it individually
- change so ref counting is done by wcd_add and wcd_free rather than
callers
- also add a ref to tree_session
- all the callbacks except choose-client and find-window are the same so
remove them and add window_choose_default_callback
- reorder/rename some other bits and pieces for tidyness
Diffstat (limited to 'usr.bin/tmux/attributes.c')
0 files changed, 0 insertions, 0 deletions