1
0
Fork 0
mirror of https://github.com/NickHu/sway synced 2025-01-15 15:41:59 +01:00
sway-patched-tray-menu/sway
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
..
commands output_cmd_background: validate colors 2019-03-15 09:50:10 +02:00
config Fix output config retrieval for new outputs 2019-03-16 10:40:46 -06:00
desktop Fix output config retrieval for new outputs 2019-03-16 10:40:46 -06:00
input Set prev_workspace_name based off of focus 2019-03-14 10:03:45 -06:00
tree Fix output config retrieval for new outputs 2019-03-16 10:40:46 -06:00
commands.c Fix quoting of commands passed to for_window 2019-03-15 14:52:38 -04:00
config.c add --i3 flag to hide_edge_borders 2019-02-24 15:26:37 -05:00
criteria.c criteria: change workspace to support regex 2019-03-12 20:52:09 -06:00
debug-tree.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c get_deco_rect: fix floaters on tabbed/stacked ws 2019-03-11 21:31:47 -06:00
ipc-server.c ipc_has_event_listeners: fix inverted check of subscribed_events 2019-02-06 15:16:48 +01:00
main.c detect_proprietary: use strncmp 2019-03-10 22:16:09 -06:00
meson.build pointer_constraint: change to a seat subcommand 2019-01-31 22:58:52 -05:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Set DISPLAY after initializing Xwayland 2019-03-04 21:16:00 +01:00
sway-bar.5.scd swaybar: add overlay mode (fix #1620) 2019-02-24 20:05:47 -05:00
sway-input.5.scd sway-input.5: document wildcard and identifier troubleshooting 2019-02-16 23:50:37 +01:00
sway-ipc.7.scd ipc: describe libinput device configuration 2019-03-07 08:41:19 -07:00
sway-output.5.scd Add output dpms to manpage 2019-02-27 16:33:03 -05:00
sway.1.scd Update language in sway.desktop & sway(1) 2019-03-10 15:09:52 -04:00
sway.5.scd floating_maximum_size: change default behavior 2019-03-02 09:10:26 +01:00
swaynag.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
xdg_decoration.c view: set xdg_decoration->view to NULL, check decoration destroy 2019-02-23 03:03:03 -05:00