mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 06:24:20 +01:00
cb66bbea42
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. |
||
---|---|---|
.. | ||
sway | ||
swaybar | ||
swaylock | ||
swaynag | ||
background-image.h | ||
cairo.h | ||
ipc-client.h | ||
ipc.h | ||
list.h | ||
log.h | ||
meson.build | ||
pango.h | ||
pool-buffer.h | ||
readline.h | ||
stringop.h | ||
unicode.h | ||
util.h |