swayfx/include/sway
Ryan Dwyer cb66bbea42 Allow running commands on containers without focusing them
This adds a `con` argument to `execute_command` which allows you to
specify the container to execute the command on. In most cases it leaves
it as `NULL` which makes it use the focused node. We only set it when
executing `for_window` criteria such as when a view maps. This means we
don't send unnecessary IPC focus events, and fixes a crash when the
criteria command is `move scratchpad` (because we can't give focus to a
hidden scratchpad container).

Each of the shell map handlers now check to see if the view has a
workspace. It won't have a workspace if criteria has moved it to the
scratchpad.
2018-09-23 08:39:11 +10:00
..
desktop Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
input Rename seat_get_active_child to seat_get_active_tiling_child 2018-09-16 22:01:54 +10:00
tree ipc: add pid information for views in layout tree 2018-09-19 22:21:09 +01:00
commands.h Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
config.h swaybar: handle hotplugging 2018-09-20 18:37:51 +02:00
criteria.h move criteria "instance", "class" and "window_role" inside HAVE_XWAYLAND ifdefs" 2018-09-03 14:25:48 +02:00
debug.h Use enum for damage debug options 2018-08-19 16:17:24 +10:00
decoration.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
desktop.h Store geometry in the view and handle any floating view resizing 2018-08-18 15:10:06 +10:00
ipc-json.h Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
ipc-server.h Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
layers.h Update for swaywm/wlroots#1243 2018-09-14 19:21:44 +02:00
output.h Don't use wlr_output properties 2018-09-05 18:01:43 +10:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h Update for swaywm/wlroots#1243 2018-09-14 19:21:44 +02:00
swaynag.h Remove swaynag_clone and use memcpy 2018-08-03 10:40:09 -04:00
xwayland.h Implement window_type criteria token 2018-09-01 23:04:49 +10:00