aboutsummaryrefslogtreecommitdiffstats
path: root/sway/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/main.c b/sway/main.c
index 01c19074..9c7f21b3 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -102,6 +102,10 @@ int main(int argc, char **argv) {
102 init_log(L_ERROR); 102 init_log(L_ERROR);
103 } 103 }
104 104
105#if defined SWAY_GIT_VERSION && defined SWAY_GIT_BRANCH && defined SWAY_VERSION_DATE
106 sway_log(L_INFO, "Starting sway version %s (%s, branch \"%s\")\n", SWAY_GIT_VERSION, SWAY_VERSION_DATE, SWAY_GIT_BRANCH);
107#endif
108
105 if (validate) { 109 if (validate) {
106 bool valid = load_config(config_path); 110 bool valid = load_config(config_path);
107 return valid ? 0 : 1; 111 return valid ? 0 : 1;