summaryrefslogtreecommitdiffstats
path: root/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h
index 38e93eb8..9243bf35 100644
--- a/include/config.h
+++ b/include/config.h
@@ -3,6 +3,7 @@
3 3
4#include <stdint.h> 4#include <stdint.h>
5#include <wlc/wlc.h> 5#include <wlc/wlc.h>
6#include <xkbcommon/xkbcommon.h>
6#include "list.h" 7#include "list.h"
7 8
8struct sway_variable { 9struct sway_variable {
@@ -32,16 +33,17 @@ struct sway_config {
32 list_t *cmd_queue; 33 list_t *cmd_queue;
33 list_t *workspace_outputs; 34 list_t *workspace_outputs;
34 struct sway_mode *current_mode; 35 struct sway_mode *current_mode;
36 uint32_t floating_mod;
35 37
36 // Flags 38 // Flags
37 bool focus_follows_mouse; 39 bool focus_follows_mouse;
38 bool mouse_warping; 40 bool mouse_warping;
39 bool active; 41 bool active;
40 bool failed; 42 bool failed;
41 bool reloading; 43 bool reloading;
42}; 44};
43 45
44bool load_config(); 46bool load_config(void);
45bool read_config(FILE *file, bool is_active); 47bool read_config(FILE *file, bool is_active);
46char *do_var_replacement(struct sway_config *config, char *str); 48char *do_var_replacement(struct sway_config *config, char *str);
47 49