Get the whole overlay screen not just the mode so cursor changes are included.

This commit is contained in:
Nicholas Marriott
2020-05-01 17:30:28 +01:00
parent 8110c7a25f
commit 3f1fc9cde3
3 changed files with 10 additions and 14 deletions

2
tmux.h
View File

@ -1509,7 +1509,7 @@ RB_HEAD(client_files, client_file);
typedef int (*prompt_input_cb)(struct client *, void *, const char *, int);
typedef void (*prompt_free_cb)(void *);
typedef int (*overlay_check_cb)(struct client *, u_int, u_int);
typedef int (*overlay_mode_cb)(struct client *, u_int *, u_int *);
typedef struct screen *(*overlay_mode_cb)(struct client *, u_int *, u_int *);
typedef void (*overlay_draw_cb)(struct client *, struct screen_redraw_ctx *);
typedef int (*overlay_key_cb)(struct client *, struct key_event *);
typedef void (*overlay_free_cb)(struct client *);