diff options
author | 2015-08-10 14:09:51 -0500 | |
---|---|---|
committer | 2015-08-10 14:09:51 -0500 | |
commit | 7c02a1967b3d6345754b69a716459534bd2e1620 (patch) | |
tree | 0d2aeedba067a56ad72ab1ddc109a3b5adb389bc /sway/config.c | |
parent | Style fixes and slight reload command alteration (diff) | |
download | sway-7c02a1967b3d6345754b69a716459534bd2e1620.tar.gz sway-7c02a1967b3d6345754b69a716459534bd2e1620.tar.zst sway-7c02a1967b3d6345754b69a716459534bd2e1620.zip |
Spaces to Tabs
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sway/config.c b/sway/config.c index da4fac84..280900ca 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -18,16 +18,16 @@ void config_defaults(struct sway_config *config) { | |||
18 | // Flags | 18 | // Flags |
19 | config->focus_follows_mouse = true; | 19 | config->focus_follows_mouse = true; |
20 | config->mouse_warping = true; | 20 | config->mouse_warping = true; |
21 | config->reloading = false; | 21 | config->reloading = false; |
22 | } | 22 | } |
23 | 23 | ||
24 | struct sway_config *read_config(FILE *file, bool is_active) { | 24 | struct sway_config *read_config(FILE *file, bool is_active) { |
25 | struct sway_config *config = malloc(sizeof(struct sway_config)); | 25 | struct sway_config *config = malloc(sizeof(struct sway_config)); |
26 | config_defaults(config); | 26 | config_defaults(config); |
27 | 27 | ||
28 | if (is_active) { | 28 | if (is_active) { |
29 | config->reloading = true; | 29 | config->reloading = true; |
30 | } | 30 | } |
31 | 31 | ||
32 | bool success = true; | 32 | bool success = true; |
33 | 33 | ||
@@ -61,9 +61,9 @@ _continue: | |||
61 | exit(1); | 61 | exit(1); |
62 | } | 62 | } |
63 | 63 | ||
64 | if (is_active) { | 64 | if (is_active) { |
65 | config->reloading = true; | 65 | config->reloading = true; |
66 | } | 66 | } |
67 | 67 | ||
68 | return config; | 68 | return config; |
69 | } | 69 | } |