mirror of
https://github.com/NickHu/sway
synced 2024-12-30 22:23:30 +01:00
Merge pull request #923 from gutsoo/master
moved ipc_init above config file processing.
This commit is contained in:
commit
04db58863e
1 changed files with 2 additions and 2 deletions
|
@ -213,6 +213,8 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
init_layout();
|
init_layout();
|
||||||
|
|
||||||
|
ipc_init();
|
||||||
|
|
||||||
if (validate) {
|
if (validate) {
|
||||||
bool valid = load_main_config(config_path, false);
|
bool valid = load_main_config(config_path, false);
|
||||||
return valid ? 0 : 1;
|
return valid ? 0 : 1;
|
||||||
|
@ -226,8 +228,6 @@ int main(int argc, char **argv) {
|
||||||
free(config_path);
|
free(config_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
ipc_init();
|
|
||||||
|
|
||||||
if (!terminate_request) {
|
if (!terminate_request) {
|
||||||
wlc_run();
|
wlc_run();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue