This commit is contained in:
Aleksei Bavshin 2025-02-04 23:26:56 +00:00 committed by GitHub
commit 731adac360
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 83 additions and 67 deletions

View file

@ -479,6 +479,11 @@ enum xwayland_mode {
XWAYLAND_MODE_IMMEDIATE,
};
struct sway_config_file {
const char *data;
const char *path;
};
/**
* The configuration struct. The result of loading a config file.
*/
@ -548,10 +553,9 @@ struct sway_config {
int gaps_inner;
struct side_gaps gaps_outer;
list_t *config_chain;
list_t *config_chain; /* list of struct sway_config_file* */
bool user_config_path;
const char *current_config_path;
const char *current_config;
struct sway_config_file *current_config;
int current_config_line_number;
char *current_config_line;