Move the NOHOOKS flag into the shared flags.

This commit is contained in:
nicm
2020-04-13 13:32:09 +00:00
parent 04cdd03525
commit 53d6b94e8a
3 changed files with 11 additions and 12 deletions

6
tmux.h
View File

@ -1385,6 +1385,7 @@ struct cmdq_shared {
int flags;
#define CMDQ_SHARED_REPEAT 0x1
#define CMDQ_SHARED_CONTROL 0x2
#define CMDQ_SHARED_NOHOOKS 0x4
struct format_tree *formats;
@ -1392,11 +1393,6 @@ struct cmdq_shared {
struct cmd_find_state current;
};
/* Command queue flags. */
#define CMDQ_FIRED 0x1
#define CMDQ_WAITING 0x2
#define CMDQ_NOHOOKS 0x4
/* Command queue callback. */
typedef enum cmd_retval (*cmdq_cb) (struct cmdq_item *, void *);