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