From e7c51393a3c49a2af62bdda7c20d66391b001f84 Mon Sep 17 00:00:00 2001 From: Scott Moreau Date: Wed, 4 Sep 2024 00:21:33 -0600 Subject: [PATCH] core: Add wlroots version to wayfire --version output (#2463) --- src/api/wayfire/nonstd/wlroots-full.hpp | 2 ++ src/main.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/api/wayfire/nonstd/wlroots-full.hpp b/src/api/wayfire/nonstd/wlroots-full.hpp index b9e0c3f3e..13c918921 100644 --- a/src/api/wayfire/nonstd/wlroots-full.hpp +++ b/src/api/wayfire/nonstd/wlroots-full.hpp @@ -20,6 +20,8 @@ extern "C" { +// Version +#include // Rendering #define static #include diff --git a/src/main.cpp b/src/main.cpp index 498bb8e56..403584d6a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,7 +18,8 @@ static void print_version() { std::cout << WAYFIRE_VERSION << "-" << wf::version::git_commit << - " (" __DATE__ ") branch " << wf::version::git_branch << std::endl; + " (" __DATE__ ") branch " << wf::version::git_branch << + " wlroots-" << WLR_VERSION_STR << std::endl; exit(0); }