aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config.h')
-rw-r--r--sway/config.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/sway/config.h b/sway/config.h
index 6a50c445..733aaaae 100644
--- a/sway/config.h
+++ b/sway/config.h
@@ -6,31 +6,31 @@
6#include "list.h" 6#include "list.h"
7 7
8struct sway_variable { 8struct sway_variable {
9 char *name; 9 char *name;
10 char *value; 10 char *value;
11}; 11};
12 12
13struct sway_binding { 13struct sway_binding {
14 list_t *keys; 14 list_t *keys;
15 uint32_t modifiers; 15 uint32_t modifiers;
16 char *command; 16 char *command;
17}; 17};
18 18
19struct sway_mode { 19struct sway_mode {
20 char *name; 20 char *name;
21 list_t *bindings; 21 list_t *bindings;
22}; 22};
23 23
24struct sway_config { 24struct sway_config {
25 list_t *symbols; 25 list_t *symbols;
26 list_t *modes; 26 list_t *modes;
27 struct sway_mode *current_mode; 27 struct sway_mode *current_mode;
28 28
29 // Flags 29 // Flags
30 bool focus_follows_mouse; 30 bool focus_follows_mouse;
31 bool mouse_warping; 31 bool mouse_warping;
32 32
33 bool reloading; 33 bool reloading;
34}; 34};
35 35
36struct sway_config *read_config(FILE *file, bool is_active); 36struct sway_config *read_config(FILE *file, bool is_active);