i3/include
Michael Stapelberg 1e49f1b08a Implement i3 --moreversion
From the code:

    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).

Here is an example output:

    $ ./i3 --moreversion
    Binary i3 version:  4.2-202-gb8e782c (2012-08-12, branch "next") © 2009-2012 Michael Stapelberg and contributors
    Running i3 version: 4.2-202-gb8e782c (2012-08-12, branch "next") (pid 14804)

    The i3 binary you just called: /home/michael/i3/i3
    RUNNING BINARY DIFFERENT FROM BINARY ON DISK!
    The i3 binary you are running: /home/michael/i3/i3

    $ i3 restart
    2012-08-12 15:05:28 - Additional arguments passed. Sending them as a command to i3.
    IPC: received EOF instead of reply

    $ ./i3 --moreversion
    Binary i3 version:  4.2-202-gb8e782c (2012-08-12, branch "next") © 2009-2012 Michael Stapelberg and contributors
    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
2012-08-12 15:10:13 +02:00
..
i3 ipc: implement GET_VERSION to find out the i3 version 2012-08-05 14:30:05 +02:00
all.h Implement i3 --moreversion 2012-08-12 15:10:13 +02:00
assignments.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
atoms.xmacro set I3_PID atom on the root window 2012-08-12 13:51:47 +02:00
click.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
cmdparse.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
commands_parser.h Send proper error messages upon parser failures, use yajl for generating command replies 2012-05-02 22:01:50 +02:00
commands.h Introduce splith/splitv layouts, remove orientation 2012-08-04 03:13:24 +02:00
con.h create hide_edge_borders option 2012-08-05 20:26:15 +02:00
config.h Make horizontal edge-borders hidable too 2012-08-06 03:03:00 +02:00
data.h Make horizontal edge-borders hidable too 2012-08-06 03:03:00 +02:00
debug.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
display_version.h Implement i3 --moreversion 2012-08-12 15:10:13 +02:00
ewmh.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
fake_outputs.h Implement fake-outputs option (cmdline, cfg) for multi-monitor testing 2012-04-09 14:28:36 +02:00
floating.h Bugfix: Fix coordinates when the rect of an output changes (Thanks Paul) 2012-01-21 15:07:53 +00:00
handlers.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
i3.h Implement support for chosing a 32 bit visual (necessary for pseudo-transparency) (Thanks darkraven) 2012-02-15 18:56:07 +00:00
ipc.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
key_press.h Display i3-nagbar when commands lead to an error 2012-08-02 17:45:09 +02:00
libi3.h Move is_debug_build() to libi3/ 2012-05-09 19:12:20 +02:00
load_layout.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
log.h use I3__FILE__ for DLOG, leave __FILE__ as is 2012-08-12 12:19:47 +02:00
manage.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
match.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
move.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
output.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
queue.h implement TAILQ_SWAP (only for consecutive elements, order relevant) and use it 2011-02-15 02:21:23 +01:00
randr.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
regex.h i3: Replace loglevels by a global debug logging 2012-07-22 18:41:12 +02:00
render.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
resize.h mark parameters const 2011-11-10 19:17:36 +00:00
scratchpad.h scratchpad: fix moving scratchpad window 2012-08-08 18:45:40 +02:00
sd-daemon.h implement "socket activation": passing IPC sockets to i3 2011-08-10 15:55:27 +02:00
shmlog.h forgot include/shmlog.h 2012-01-07 14:59:58 +00:00
sighandler.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
startup.h Add a --no-startup-id flag for exec (command), exec (config), exec_always (config) 2011-10-25 22:18:17 +01:00
tree.h Allow focus child/parent when in fullscreen. 2012-06-03 16:24:53 +02:00
util.h Consolidate all convert_* functions into libi3. 2011-11-16 20:54:30 +00:00
window.h Bugfix: Respect WM_HINTS.input for WM_TAKE_FOCUS clients 2012-01-18 19:16:57 +00:00
workspace.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
x.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
xcb_compat.h Fix xcb_compat.h to make i3 compile with older xcb versions (Thanks David Coppa) 2012-01-20 18:13:52 +00:00
xcb.h A few style fixes for the previous commit 2012-03-26 17:00:35 +02:00
xcursor.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
xinerama.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00