sway-patched-tray-menu/sway/desktop
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
..
desktop.c Stop using wlr_output->{lx,ly} 2019-03-11 12:43:01 -04:00
idle_inhibit_v1.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
layer_shell.c Handle seat_get_focused_workspace returning NULL 2019-03-12 19:14:04 +01:00
output.c Fix output config retrieval for new outputs 2019-03-16 10:40:46 -06:00
render.c Stop using wlr_output->{lx,ly} 2019-03-11 12:43:01 -04:00
transaction.c Rebase cursor when a layer surface maps 2019-02-12 22:57:23 +01:00
xdg_shell.c view: set xdg_decoration->view to NULL, check decoration destroy 2019-02-23 03:03:03 -05:00
xdg_shell_v6.c Check xdg_surface's role before using its toplevel 2019-01-28 16:14:35 +01:00
xwayland.c xwayland: handle floating configure request size 2019-03-13 09:06:04 +01:00