Unify the way sessions are used by callbacks - store the address and use
commita51dcdc430150b688d56ec35e8c96ce6f978f68b
authorNicholas Marriott <nicm@openbsd.org>
Mon, 20 Dec 2010 00:03:55 +0000 (20 00:03 +0000)
committerNicholas Marriott <nicm@openbsd.org>
Mon, 20 Dec 2010 00:03:55 +0000 (20 00:03 +0000)
treef006980fa330e0dd844d56d142a80993ef60ac3e
parentc65d4220f019b8022ae0192d4a9014be5cc08f40
Unify the way sessions are used by callbacks - store the address and use
the reference count, then check it is still on the global sessions list
in the callback.
cmd-choose-window.c
cmd-find-window.c
cmd-load-buffer.c
session.c
tmux.h