swayfx/include/sway
ftilde 1afedcb94c Fix for_window criteria and mouse button bindings
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.
2021-02-25 09:48:39 -05:00
..
desktop transaction: Remove unused ready_immediately 2021-02-23 19:38:05 +01:00
input Automatically map built-in touchscreens/tablets to built-in panels 2021-02-25 09:38:00 -05:00
tree focus: beyond fullscreen when focused explicitly 2021-02-25 09:40:20 -05:00
commands.h Declare all struct cmd_handler arrays const 2021-02-04 09:49:06 +01:00
config.h Fix for_window criteria and mouse button bindings 2021-02-25 09:48:39 -05:00
criteria.h Introduce pid criteria token 2020-02-27 14:03:22 +01: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 i3-compat: add GET_BINDING_STATE IPC command 2020-06-14 00:55:14 -04:00
ipc-server.h ipc: add an input event 2019-07-23 20:45:46 +03:00
layers.h Add layer shell subsurfaces 2020-12-07 12:30:13 +01:00
output.h Rename output_layer_for_each_surface_{toplevel,popup} 2021-01-12 11:25:34 +01:00
server.h transactions: Amend pending transactions 2021-02-16 00:18:26 +01:00
surface.h view: add max_render_time 2019-11-17 20:18:42 +01:00
swaynag.h Spawn swaynag as a wayland client 2019-04-14 12:41:59 +03:00
xdg_decoration.h Improve CSD logic 2018-09-27 22:51:37 +10:00
xwayland.h Parse missing i3 window types 2018-10-21 15:59:04 +02:00