sway-patched-tray-menu/sway/desktop
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.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
idle_inhibit_v1.c Fix crash when destroying an idle-inhibiting client 2018-09-16 23:20:58 +10:00
layer_shell.c Update for swaywm/wlroots#1243 2018-09-14 19:21:44 +02:00
output.c Rename seat_get_active_child to seat_get_active_tiling_child 2018-09-16 22:01:54 +10:00
render.c Fix segfault in output_render 2018-09-19 11:03:25 +02:00
transaction.c Reconfigure xwayland views when repositioned 2018-09-21 23:02:48 +10:00
xdg_shell.c Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
xdg_shell_v6.c Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
xwayland.c Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00