Skip to content

Commit

Permalink
core: Add wlroots version to wayfire --version output
Browse files Browse the repository at this point in the history
  • Loading branch information
soreau committed Sep 3, 2024
1 parent 0496eea commit 3f71e9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@

#include <wayland-server.h>

#include <wlr/version.h>

#include "wayfire/config-backend.hpp"
#include "core/plugin-loader.hpp"
#include "core/core-impl.hpp"

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);
}

Expand Down

0 comments on commit 3f71e9e

Please sign in to comment.