mirror of
https://github.com/swaywm/sway.git
synced 2025-11-14 06:59:47 -05:00
remove old things
This commit is contained in:
parent
aa22dc3113
commit
799ff640f8
2 changed files with 1 additions and 4 deletions
|
|
@ -214,12 +214,9 @@ bool load_config(const char *file) {
|
|||
|
||||
bool read_config(FILE *file, bool is_active) {
|
||||
struct sway_config *old_config = config;
|
||||
struct sway_mode *default_mode;
|
||||
config = malloc(sizeof(struct sway_config));
|
||||
|
||||
config_defaults(config);
|
||||
default_mode = config->current_mode;
|
||||
|
||||
if (is_active) {
|
||||
sway_log(L_DEBUG, "Performing configuration file reload");
|
||||
config->reloading = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue