swayfx/include/sway
Calvin Lee 069d37f987 Improve criteria handling
This commit changes how commands decide what container to act on.
Commands get the current container though `current_container`, a global
defined in sway/commands.c. If a criteria is given before a command,
then the following command will be run once for every container the
criteria matches with a reference to the matching container in
'current_container'. Commands should use this instead of
`get_focused_container()` from now on.

This commit also fixes a few (minor) mistakes made in implementing marks
such as non-escaped arrows in sway(5) and calling the "mark" command
"floating" by accident. It also cleans up `criteria.c` in a few places.
2017-04-05 22:07:23 -06:00
..
border.h Reorganize includes 2016-09-01 08:18:37 -04:00
commands.h Improve criteria handling 2017-04-05 22:07:23 -06:00
config.h Impliment i3-style marks 2017-04-03 11:48:37 -06:00
container.h Impliment i3-style marks 2017-04-03 11:48:37 -06:00
criteria.h Improve criteria handling 2017-04-05 22:07:23 -06:00
extensions.h Reorganize includes 2016-09-01 08:18:37 -04:00
focus.h changed "layout promote" command to "move first" 2017-01-01 19:53:53 +01:00
handlers.h Reorganize includes 2016-09-01 08:18:37 -04:00
input.h Reorganize includes 2016-09-01 08:18:37 -04:00
input_state.h Reorganize includes 2016-09-01 08:18:37 -04:00
ipc-json.h Reorganize includes 2016-09-01 08:18:37 -04:00
ipc-server.h Reorganize includes 2016-09-01 08:18:37 -04:00
layout.h i3 feature support: Moving flotaing containers 2017-03-01 11:00:16 -07:00
output.h Add output wrapping 2017-01-13 16:06:10 -08:00
security.h Add initial support code for new IPC security 2017-02-20 06:11:56 -05:00
workspace.h Reorganize includes 2016-09-01 08:18:37 -04:00