aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-02-23 08:32:11 -0500
committerDrew DeVault <sir@cmpwn.com>2017-02-28 13:06:50 -0500
commit41f7aaacf4522def72a25eaa1e6e857fc210106a (patch)
treeaad11fece0a403660b3caef99e6592b9f9f966b0
parentf68d2fb33c433d13def0921db561eb23d400683c (diff)
downloadsway-41f7aaacf4522def72a25eaa1e6e857fc210106a.zip
sway-41f7aaacf4522def72a25eaa1e6e857fc210106a.tar.gz
sway-41f7aaacf4522def72a25eaa1e6e857fc210106a.tar.bz2
Move env logging to earlier than wlc_init
-rw-r--r--sway/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/main.c b/sway/main.c
index 0151e07..5e3b241 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -310,6 +310,9 @@ int main(int argc, char **argv) {
init_log(L_ERROR);
}
wlc_log_set_handler(wlc_log_handler);
+ log_kernel();
+ log_distro();
+ log_env();
detect_proprietary();
input_devices = create_list();
@@ -346,9 +349,6 @@ int main(int argc, char **argv) {
#if defined SWAY_GIT_VERSION && defined SWAY_GIT_BRANCH && defined SWAY_VERSION_DATE
sway_log(L_INFO, "Starting sway version %s (%s, branch \"%s\")\n", SWAY_GIT_VERSION, SWAY_VERSION_DATE, SWAY_GIT_BRANCH);
#endif
- log_kernel();
- log_distro();
- log_env();
init_layout();