]> git.sur5r.net Git - i3/i3/blob - include/display_version.h
Merge branch 'release-4.16.1'
[i3/i3] / include / display_version.h
1 /*
2  * vim:ts=4:sw=4:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
6  *
7  * display_version.c: displays the running i3 version, runs as part of
8  *                    i3 --moreversion.
9  */
10 #pragma once
11
12 #include <config.h>
13
14 /**
15  * Connects to i3 to find out the currently running version. Useful since it
16  * might be different from the version compiled into this binary (maybe the
17  * user didn’t correctly install i3 or forgot te restart it).
18  *
19  * The output looks like this:
20  * Running i3 version: 4.2-202-gb8e782c (2012-08-12, branch "next") (pid 14804)
21  *
22  * The i3 binary you just called: /home/michael/i3/i3
23  * The i3 binary you are running: /home/michael/i3/i3
24  *
25  */
26 void display_running_version(void);