sway-patched-tray-menu-github/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
..
commands Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
config swaybar: handle hotplugging 2018-09-20 18:37:51 +02:00
desktop Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
input Rename seat_get_active_child to seat_get_active_tiling_child 2018-09-16 22:01:54 +10:00
tree Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
config.c Introduce tiling_drag directive 2018-09-11 17:17:19 +10:00
criteria.c Fix inversed condition in criteria 2018-09-05 18:01:43 +10:00
debug-tree.c Align titles to baseline 2018-09-08 16:25:07 +10:00
decoration.c Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
ipc-json.c ipc: add pid information for views in layout tree 2018-09-19 22:21:09 +01:00
ipc-server.c Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
main.c Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
meson.build Introduce create_output command (for developer use) 2018-09-19 21:54:27 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Merge branch 'master' into wlroots-1243 2018-09-14 21:03:59 -04:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd Escaping underscores in tap_button_map 2018-07-29 14:47:53 +02:00
sway.1.scd delete references to swaygrab 2018-07-30 16:24:46 +01:00
sway.5.scd commands: implement move absolute 2018-08-20 10:17:32 +01:00
swaynag.c Fix compiler errors. 2018-08-05 00:24:44 -07:00