swayfx/sway
Christoph Gysin 923c3245ac Fix option parsing
Using 'flag' results in duplicate code paths for short and long options.

This broke the -q short option in swaymsg, because there was:

 {"quiet", no_argument, &quiet, 'q'}

Which will set quiet to 'q' and return 0, not 'q'.
2015-11-28 23:50:44 +02:00
..
commands.c workspace: Learn sticky. 2015-11-27 17:58:10 +01:00
config.c Allow output config for output named * 2015-11-28 10:18:37 -05:00
container.c Allow output config for output named * 2015-11-28 10:18:37 -05:00
criteria.c criteria: Code formatting. 2015-11-25 14:59:07 +01:00
debug_log.c debug_log: Improve container_log so that debug lines are aligned. 2015-11-27 17:49:07 +01:00
extensions.c extensions: add missing include 2015-11-25 14:39:09 +02:00
focus.c Move IPC client into common, refactor IPC 2015-11-27 09:50:04 -05:00
handlers.c criteria: Add. Learn for_window command. 2015-11-25 14:34:33 +01:00
input_state.c We somewhat more wlc_point now 2015-11-14 17:14:23 -05:00
ipc-server.c Move IPC client into common, refactor IPC 2015-11-27 09:50:04 -05:00
layout.c layout: get_swayc_in_direction_under: Handle floating views. 2015-11-24 21:34:41 +01:00
main.c Fix option parsing 2015-11-28 23:50:44 +02:00
output.c output: Support multiple adjacent outputs. 2015-11-16 21:32:18 +01:00
resize.c return after disconnect ipc client and minor checks 2015-09-29 07:19:10 -07:00
util.c added missing util.h/c stuff 2015-08-25 19:53:59 +02:00
workspace.c workspace: Learn sticky. 2015-11-27 17:58:10 +01:00