mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Make the cmd_find_* functions more obvious when looking for a client,
rather than having it inside other functions. Should be no change to the way targets are resolved just yet.
This commit is contained in:
4
server.c
4
server.c
@ -63,7 +63,7 @@ static void server_child_stopped(pid_t, int);
|
||||
void
|
||||
server_set_marked(struct session *s, struct winlink *wl, struct window_pane *wp)
|
||||
{
|
||||
cmd_find_clear_state(&marked_pane, NULL, 0);
|
||||
cmd_find_clear_state(&marked_pane, 0);
|
||||
marked_pane.s = s;
|
||||
marked_pane.wl = wl;
|
||||
marked_pane.w = wl->window;
|
||||
@ -74,7 +74,7 @@ server_set_marked(struct session *s, struct winlink *wl, struct window_pane *wp)
|
||||
void
|
||||
server_clear_marked(void)
|
||||
{
|
||||
cmd_find_clear_state(&marked_pane, NULL, 0);
|
||||
cmd_find_clear_state(&marked_pane, 0);
|
||||
}
|
||||
|
||||
/* Is this the marked pane? */
|
||||
|
Reference in New Issue
Block a user