sway/include/sway
Kenny Levinsen 1267e47de9 config/output: Refactor handling of tiered configs
Output configuration can be applied to a particular output in three
ways: As a wildcard, by connector name and by identifier. This in turn
means that three different configurations must be handled at any given
time.

In the current model, this is managed by merging new configuration into
every other matching configuration. At the same time, an additional
synthetic configuration is made which matchehes both identifier and name
at the same time, further complicating logic.

Instead, manage and store each configuration independently and merge
them in order when retrieving configuration for an output. When changes
are made to a less specific configuration, clear these fields from more
specific configurations to allow the change to take effect regardless of
precedence.

Fixes: https://github.com/swaywm/sway/issues/8048
2024-04-12 17:32:26 +02:00
..
desktop xdg-activation: distinguish activation and urgency requests 2024-02-17 00:54:30 -07:00
input Implement transient seat management 2024-03-18 09:07:21 +01:00
tree xdg-shell: implement popup repositioning 2024-03-08 09:52:14 +03:00
commands.h input/libinput: add scroll_button_lock method 2023-06-16 15:30:04 +02:00
config.h config/output: Refactor handling of tiered configs 2024-04-12 17:32:26 +02:00
criteria.h i3 compat: Adding support for the `all` criteria 2023-09-07 10:42:54 +09:00
decoration.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
ipc-json.h sway: add non-desktop outputs to json when running `swaymsg -t get_outputs` 2022-09-19 07:26:45 -04:00
ipc-server.h ipc: add support for output event 2023-02-01 11:32:57 -05:00
layers.h layer_shell: Handle popups through popup descriptor 2024-02-12 19:19:22 +03:00
output.h config/output: drop enabling flag 2024-03-08 09:12:12 -05:00
scene_descriptor.h scene_graph: Port xwayland 2024-01-18 18:36:54 +03:00
server.h Re-create renderer when lost 2024-03-14 22:55:46 +01:00
sway_text_node.h Introduce sway_text_node 2024-01-18 18:36:54 +03:00
swaynag.h swaynag: add printf attribute to swaynag_log() 2023-04-14 18:34:54 +02:00
xdg_decoration.h xdg-shell: chase events update 2023-11-23 19:41:57 +01:00
xwayland.h Parse missing i3 window types 2018-10-21 15:59:04 +02:00