Minor tidying.

This commit is contained in:
nicm 2018-08-02 11:18:34 +00:00
parent 21f8ac2766
commit f12b857415
1 changed files with 10 additions and 9 deletions

17
tmux.h
View File

@ -19,8 +19,6 @@
#ifndef TMUX_H #ifndef TMUX_H
#define TMUX_H #define TMUX_H
#define PROTOCOL_VERSION 8
#include <sys/time.h> #include <sys/time.h>
#include <sys/queue.h> #include <sys/queue.h>
#include <sys/tree.h> #include <sys/tree.h>
@ -54,6 +52,9 @@ struct session;
struct tmuxpeer; struct tmuxpeer;
struct tmuxproc; struct tmuxproc;
/* Client-server protocol version. */
#define PROTOCOL_VERSION 8
/* Default global configuration file. */ /* Default global configuration file. */
#define TMUX_CONF "/etc/tmux.conf" #define TMUX_CONF "/etc/tmux.conf"
@ -821,12 +822,11 @@ struct window {
int flags; int flags;
#define WINDOW_BELL 0x1 #define WINDOW_BELL 0x1
#define WINDOW_ACTIVITY 0x2 #define WINDOW_ACTIVITY 0x2
/* 0x4 unused */ #define WINDOW_SILENCE 0x4
#define WINDOW_SILENCE 0x8 #define WINDOW_ZOOMED 0x8
#define WINDOW_ZOOMED 0x1000 #define WINDOW_FORCEWIDTH 0x10
#define WINDOW_FORCEWIDTH 0x2000 #define WINDOW_FORCEHEIGHT 0x20
#define WINDOW_FORCEHEIGHT 0x4000 #define WINDOW_STYLECHANGED 0x40
#define WINDOW_STYLECHANGED 0x8000
#define WINDOW_ALERTFLAGS (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE) #define WINDOW_ALERTFLAGS (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE)
int alerts_queued; int alerts_queued;
@ -1424,6 +1424,7 @@ enum options_table_type {
OPTIONS_TABLE_STYLE, OPTIONS_TABLE_STYLE,
OPTIONS_TABLE_ARRAY, OPTIONS_TABLE_ARRAY,
}; };
enum options_table_scope { enum options_table_scope {
OPTIONS_TABLE_NONE, OPTIONS_TABLE_NONE,
OPTIONS_TABLE_SERVER, OPTIONS_TABLE_SERVER,