gri3-wm/include
Julius Plenz 70ec3867fe clean up zero-byte logfile on immediate exit
Otherwise, a zero-byte log file stays behind after every call to `i3
--get-socketpath`. Also, replace "return" calls with more explicit "exit"
calls.

Before:

$ ls -ld /tmp/i3* | wc -l; \
  repeat 10 i3 --get-socketpath >/dev/null; \
  ls -ld /tmp/i3* | wc -l
1
11

Now:

$ ls -ld /tmp/i3* | wc -l; \
  repeat 10 i3 --get-socketpath >/dev/null; \
  ls -ld /tmp/i3* | wc -l
1
1

Signed-off-by: Julius Plenz <julius@plenz.com>
2012-08-11 02:23:03 +02:00
..
i3 ipc: implement GET_VERSION to find out the i3 version 2012-08-05 14:30:05 +02:00
all.h Display i3-nagbar when commands lead to an error 2012-08-02 17:45:09 +02:00
assignments.h
atoms.xmacro
click.h
cmdparse.h
commands.h Introduce splith/splitv layouts, remove orientation 2012-08-04 03:13:24 +02:00
commands_parser.h
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
ewmh.h
fake_outputs.h
floating.h
handlers.h
i3.h
ipc.h
key_press.h Display i3-nagbar when commands lead to an error 2012-08-02 17:45:09 +02:00
libi3.h
load_layout.h
log.h clean up zero-byte logfile on immediate exit 2012-08-11 02:23:03 +02:00
manage.h
match.h
move.h
output.h
queue.h
randr.h
regex.h i3: Replace loglevels by a global debug logging 2012-07-22 18:41:12 +02:00
render.h
resize.h
scratchpad.h scratchpad: fix moving scratchpad window 2012-08-08 18:45:40 +02:00
sd-daemon.h
shmlog.h
sighandler.h
startup.h
tree.h Allow focus child/parent when in fullscreen. 2012-06-03 16:24:53 +02:00
util.h
window.h
workspace.h
x.h
xcb.h
xcb_compat.h
xcursor.h
xinerama.h