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 normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
atoms.xmacro shmlog: store meta information in the buffer itself, store path as X11 atom 2012-01-06 23:40:07 +00: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.h Introduce splith/splitv layouts, remove orientation 2012-08-04 03:13:24 +02: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
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
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 clean up zero-byte logfile on immediate exit 2012-08-11 02:23:03 +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.h A few style fixes for the previous commit 2012-03-26 17:00:35 +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
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