i3
|
Go to the source code of this file.
Functions | |
void | display_running_version (void) |
Connects to i3 to find out the currently running version. More... | |
void display_running_version | ( | void | ) |
Connects to i3 to find out the currently running version.
Useful since it might be different from the version compiled into this binary (maybe the user didn’t correctly install i3 or forgot te restart it).
The output looks like this: Running i3 version: 4.2-202-gb8e782c (2012-08-12, branch "next") (pid 14804)
The i3 binary you just called: /home/michael/i3/i3 The i3 binary you are running: /home/michael/i3/i3
Definition at line 70 of file display_version.c.
References conn, conn_screen, human_readable_version, ipc_recv_message(), ipc_send_message(), root_atom_contents(), sasprintf(), smalloc(), srealloc(), and state.
Referenced by main().