sway-patched-tray-menu/sway/tree
Brian Ashworth 3106ef23a7 Fix output config retrieval for new outputs
This removes `output_find_config`, which would take the first matching
output config it found. This is fine if only a name output config,
identifier output config, or even just wildcard exist, but if there is
a name output config and identifier output config, they are not merged.
Instead, this introduces find_output_config, which is just a wrapper
for `get_output_config`. This ensures that both the name and identifier
output configs are respected.

This fixes the following case:
- For simplicity in this example, remove all output configs from config
- Run `swaymsg output <name> bg #ff0000 solid_color`
- Run `swaymsg output <identifier> scale 2`
- Disconnect and reconnect output

Without this, the output will have the background, but not the scale.
With this, the output will have both the background and scale
2019-03-16 10:40:46 -06:00
..
arrange.c Stop using wlr_output->{lx,ly} 2019-03-11 12:43:01 -04:00
container.c fullscreen: init floating on disable without size 2019-03-10 23:55:22 +01:00
node.c ipc: handle NULL cases for node_get_output 2018-09-15 09:42:49 +01:00
output.c Fix output config retrieval for new outputs 2019-03-16 10:40:46 -06:00
root.c Handle seat_get_focused_workspace returning NULL 2019-03-12 19:14:04 +01:00
view.c sway_view_child: add listener for view unmap 2019-03-11 10:02:52 +01:00
workspace.c Set prev_workspace_name based off of focus 2019-03-14 10:03:45 -06:00