aboutsummaryrefslogtreecommitdiff
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 @@
#include <stdint.h>
#include <wlc/wlc.h>
+#include <xkbcommon/xkbcommon.h>
#include "list.h"
struct sway_variable {
@@ -32,16 +33,17 @@ struct sway_config {
list_t *cmd_queue;
list_t *workspace_outputs;
struct sway_mode *current_mode;
+ uint32_t floating_mod;
// Flags
bool focus_follows_mouse;
bool mouse_warping;
- bool active;
- bool failed;
+ bool active;
+ bool failed;
bool reloading;
};
-bool load_config();
+bool load_config(void);
bool read_config(FILE *file, bool is_active);
char *do_var_replacement(struct sway_config *config, char *str);