swayfx/sway
Brian Ashworth 09595da0bc cmd_move: allow for all i3 syntax options
This modifies cmd_move to allow for the syntax options allowed by i3.
The following syntaxes are supported:
- `move left|right|up|down [<amount> [px]]`
- `move [--no-auto-back-and-forth] [window|container] [to] workspace
   <name>|next|prev|next_on_output|prev_on_output|current|number <num>`
- `move [window|container] [to] output <name/id>|left|right|up|down`
- `move [window|container] [to] mark <mark>`
- `move workspace to [output] <name/id>|left|right|up|down`
- `move [window|container] [to] [absolute] position <x> [px] <y> [px]`
- `move [window|container] [to] [absolute] position center`
- `move [window|container] [to] position mouse|cursor|pointer`

This also allows retains the following syntax option that is not
supported by i3, but is supported in sway 1.0:
- `move workspace [to] output <name/id>|left|right|up|down`

The changes are:
- `window` and `container` are now optional
- `output` is now optional for `move workspace` when `to` is given

There is also stricter command checking now. If `absolute` or
`--no-auto-back-and-forth` are given for commands that do not support
them, it will be treated as invalid syntax instead of being silently
ignored.
2019-04-19 08:39:57 -06:00
..
commands cmd_move: allow for all i3 syntax options 2019-04-19 08:39:57 -06:00
config Implement input type configs (#3784) 2019-04-14 19:31:36 -04:00
desktop Fix scratchpad fullscreen behavior and crash 2019-04-13 08:48:37 -06:00
input Implement input type configs (#3784) 2019-04-14 19:31:36 -04:00
tree Don't apply hide_edge_borders to floating windows 2019-04-16 17:05:49 -04:00
commands.c Add unbindswitch command 2019-04-17 23:29:43 -04:00
config.c Implement input type configs (#3784) 2019-04-14 19:31:36 -04:00
criteria.c criteria: fix __focused__ when no focus or unset 2019-03-23 09:53:23 +02:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Send disabled output available modes on IPC get_outputs 2019-04-16 00:16:20 -04:00
ipc-server.c Fix the payload type returned by IPC 2019-04-16 23:48:44 -04:00
main.c Spawn swaynag as a wayland client 2019-04-14 12:41:59 +03:00
meson.build Add deprecation warnings for new_float, new_window, and force_focus_wrapping. 2019-04-14 20:44:12 -04:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Set DISPLAY after initializing Xwayland 2019-03-04 21:16:00 +01:00
sway-bar.5.scd Add unbindsym/unbindcode command for swaybar 2019-04-17 23:29:43 -04:00
sway-input.5.scd Implement input type configs (#3784) 2019-04-14 19:31:36 -04:00
sway-ipc.7.scd Add support for manually setting subpixel hinting on outputs. 2019-03-24 09:37:24 +02:00
sway-output.5.scd Add support for manually setting subpixel hinting on outputs. 2019-03-24 09:37:24 +02:00
sway.1.scd Update language in sway.desktop & sway(1) 2019-03-10 15:09:52 -04:00
sway.5.scd cmd_move: allow for all i3 syntax options 2019-04-19 08:39:57 -06:00
swaynag.c Spawn swaynag as a wayland client 2019-04-14 12:41:59 +03:00
xdg_decoration.c view: set xdg_decoration->view to NULL, check decoration destroy 2019-02-23 03:03:03 -05:00