diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-06-07 16:01:10 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-06-07 16:01:10 +0100 |
commit | 86d6666fe790757abe11978002d73af53cb044bc (patch) | |
tree | 680f058615c52643df0ce8811f0b578890c7f407 /window-client.c | |
parent | 772dacc89bb48c35f4b5c24233fbc1e866ffc6ed (diff) | |
parent | 405cc337f35731614b37d7279ddfc3a5dc806694 (diff) | |
download | rtmux-86d6666fe790757abe11978002d73af53cb044bc.tar.gz rtmux-86d6666fe790757abe11978002d73af53cb044bc.tar.bz2 rtmux-86d6666fe790757abe11978002d73af53cb044bc.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'window-client.c')
-rw-r--r-- | window-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/window-client.c b/window-client.c index f34d007d..bb33b0f4 100644 --- a/window-client.c +++ b/window-client.c @@ -224,7 +224,7 @@ window_client_init(struct window_pane *wp, __unused struct cmd_find_state *fs, data->command = xstrdup(args->argv[0]); data->data = mode_tree_start(wp, window_client_build, - window_client_draw, data, window_client_sort_list, + window_client_draw, NULL, data, window_client_sort_list, nitems(window_client_sort_list), &s); mode_tree_build(data->data); @@ -301,7 +301,7 @@ window_client_key(struct window_pane *wp, struct client *c, * Enter = detach client */ - finished = mode_tree_key(data->data, &key, m); + finished = mode_tree_key(data->data, c, &key, m); switch (key) { case 'd': case 'x': |