1afedcb94c
Previously, the special case handling of scratchpad and unmark commands was (probably accidentally) limited to criteria directly handled in the execute_command function. This would exclude: 1. for_window criteria, as these are handled externally for views and 2. and mouse bindings which select target the node currently under the mouse cursor. As a concrete example `for_window [app_id="foobar"] move scratchpad, scratchpad show` would show (or hide due to the toggling functionality) another window from the scratchpad, instead of showing the window with app_id "foobar". This commit replaces the "using_criteria" flag with "node_overridden" with the more general notion of signifying that the node (and container/workspace) in the current command handler context of the sway config is not defined by the currently focused node, but instead overridden by other means, i.e., criteria or mouse position. |
||
---|---|---|
.. | ||
desktop | ||
input | ||
tree | ||
commands.h | ||
config.h | ||
criteria.h | ||
decoration.h | ||
desktop.h | ||
ipc-json.h | ||
ipc-server.h | ||
layers.h | ||
output.h | ||
server.h | ||
surface.h | ||
swaynag.h | ||
xdg_decoration.h | ||
xwayland.h |