|
|
@ -9,6 +9,7 @@
|
|
|
|
#include "commands.h"
|
|
|
|
#include "commands.h"
|
|
|
|
#include "config.h"
|
|
|
|
#include "config.h"
|
|
|
|
#include "layout.h"
|
|
|
|
#include "layout.h"
|
|
|
|
|
|
|
|
#include "input_state.h"
|
|
|
|
|
|
|
|
|
|
|
|
struct sway_config *config;
|
|
|
|
struct sway_config *config;
|
|
|
|
|
|
|
|
|
|
|
@ -147,6 +148,8 @@ _continue:
|
|
|
|
bool load_config(const char *file) {
|
|
|
|
bool load_config(const char *file) {
|
|
|
|
sway_log(L_INFO, "Loading config");
|
|
|
|
sway_log(L_INFO, "Loading config");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input_init();
|
|
|
|
|
|
|
|
|
|
|
|
char *path;
|
|
|
|
char *path;
|
|
|
|
if (file != NULL) {
|
|
|
|
if (file != NULL) {
|
|
|
|
path = strdup(file);
|
|
|
|
path = strdup(file);
|
|
|
|