]> git.sur5r.net Git - i3/i3/blob - include/display_version.h
Merge branch 'master' into next
[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-2012 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 #ifndef I3_DISPLAY_VERSION_H
11 #define I3_DISPLAY_VERSION_H
12
13 /**
14  * Connects to i3 to find out the currently running version. Useful since it
15  * might be different from the version compiled into this binary (maybe the
16  * user didn’t correctly install i3 or forgot te restart it).
17  *
18  * The output looks like this:
19  * Running i3 version: 4.2-202-gb8e782c (2012-08-12, branch "next") (pid 14804)
20  *
21  * The i3 binary you just called: /home/michael/i3/i3
22  * The i3 binary you are running: /home/michael/i3/i3
23  *
24  */
25 void display_running_version(void);
26
27 #endif