sway-patched-tray-menu-github/sway
Brian Ashworth 1897edabba Rework default output configs
Default output configs were generated on reload to reset an output to
its default settings. The idea was that anything that was removed from
the config or changed at runtime and not in the config should be reset
on reload. Originally, they were created using the output name. Recently,
they were changed to use the output identifier. It turns out that there
are issues of shadowing with that solution as well. This should fix
those issues.

Instead of generating the default output configs on reload and storing
them in the output config list to merge on top of, they are now only
generated when retrieving the output config for an output during a
reload. This means that the default output configs are never stored
anywhere and just used as a base to merge unaltered user configs on top
of during a reload.

Starting with a blank output config, merges get applied in the following
order:
1. Default output config (only during a reload)
2. Wildcard config (only if neither output name or output identifier
exist)
3. Output name config
4. Output identifier config
2018-12-13 18:37:25 +01:00
..
commands list.c: rename free_flat_list to list_free_items_and_destroy 2018-12-09 01:15:38 +00:00
config Rework default output configs 2018-12-13 18:37:25 +01:00
desktop Call wlr_output_enable for disabled new outputs 2018-12-10 08:59:24 +01:00
input Keep focus when destroying containers on nonvis ws 2018-12-12 10:13:50 +01:00
tree Fix criteria execution in view_map 2018-12-12 13:41:47 +01:00
commands.c Cleanup list code 2018-12-09 01:15:38 +00:00
config.c Rework default output configs 2018-12-13 18:37:25 +01:00
criteria.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
debug-tree.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Implement bar gaps 2018-11-28 11:24:14 -05:00
ipc-server.c Cleanup list code 2018-12-09 01:15:38 +00:00
main.c Cleanup list code 2018-12-09 01:15:38 +00:00
meson.build Implement bar gaps 2018-11-28 11:24:14 -05:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Update for swaywm/wlroots#1387 2018-11-23 12:07:46 +01:00
sway-bar.5.scd Implement bar gaps 2018-11-28 11:24:14 -05:00
sway-input.5.scd Add scroll factor config option. 2018-11-18 13:49:30 -05:00
sway-output.5.scd fix typo 2018-12-02 20:48:53 +01:00
sway.1.scd Establish sway-output(5) 2018-10-14 10:52:57 -04:00
sway.5.scd Add option to bindsym/bindcode to suppress warning on override 2018-12-02 21:35:44 -06:00
swaynag.c Allow swaynag to be disabled 2018-10-08 09:59:38 -04:00
xdg_decoration.c Improve CSD logic 2018-09-27 22:51:37 +10:00