mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
Switched config loading order to prevent root access w/wlc
This commit is contained in:
parent
55ad6ca268
commit
7427ce8930
2 changed files with 4 additions and 5 deletions
|
|
@ -201,7 +201,6 @@ bool read_config(FILE *file, bool is_active) {
|
|||
// should be queued for later execution
|
||||
list_t *args = split_string(line, " ");
|
||||
if (!is_active && (
|
||||
strcmp("workspace", args->items[0]) == 0 ||
|
||||
strcmp("exec", args->items[0]) == 0 ||
|
||||
strcmp("exec_always", args->items[0]) == 0 )) {
|
||||
sway_log(L_DEBUG, "Deferring command %s", line);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue