sway-patched-tray-menu/sway
Simon Ser f5fa0c7124 Stop calling apply_output_config from output_enable
The only output_enable caller is now apply_output_config. Stop calling
apply_output_config from output_enable to simplify the code and avoid
the back-and-forth between these two functions.

output_enable is now the symmetric of output_disable: it just marks the
output as enabled and performs bookkeeping (e.g. creating teh default
workspace). It is called from apply_output_config after the output
commit, so that it can read the current output state and act
accordingly.

This change also allows us to avoid an extraneous wlr_output_commit.

References: https://github.com/swaywm/sway/issues/4921
2020-02-11 20:52:02 -05:00
..
commands config: fix validation exit code and log level 2020-02-11 16:02:11 +01:00
config Stop calling apply_output_config from output_enable 2020-02-11 20:52:02 -05:00
desktop Call apply_output_config instead of output_enable 2020-02-11 20:52:02 -05:00
input input: Map virtual-pointer to the requested output 2020-02-10 21:54:00 +01:00
tree Stop calling apply_output_config from output_enable 2020-02-11 20:52:02 -05:00
commands.c criteria: match containers without view 2020-02-04 19:52:21 -05:00
config.c config: fix validation exit code and log level 2020-02-11 16:02:11 +01:00
criteria.c criteria: match containers without view 2020-02-04 19:52:21 -05:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c ipc-json: Remove unnecessary dereference 2020-01-16 16:15:50 +01:00
ipc-server.c ipc: Handle unsupported binding event types 2020-01-30 15:03:54 +01:00
main.c config: fix validation exit code and log level 2020-02-11 16:02:11 +01:00
meson.build Add seat <seat> idle_{inhibit,wake} <sources...> 2019-12-12 10:37:30 -05:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Add sway_surface 2019-11-17 20:18:42 +01:00
sway-bar.5.scd swaybar: complete barconfig_update event handling 2019-09-04 16:48:50 -10:00
sway-input.5.scd sway-input.5: Document repeat_delay and repeat_rate only once 2020-01-16 16:15:50 +01:00
sway-ipc.7.scd Docs: Add marks field to get_tree response 2020-01-24 10:37:21 +01:00
sway-output.5.scd integer scaling, not integral 2020-01-10 07:03:24 -07:00
sway.1.scd Update language in sway.desktop & sway(1) 2019-03-10 15:09:52 -04:00
sway.5.scd Add documentation for floating_modifier 2020-01-20 09:19:04 -07:00
swaynag.c Rename symbol set_cloexec to sway_set_cloexec, remove duplicates. 2019-11-01 12:41:08 -04:00
xdg_decoration.c Fix xdg-decoration unconfigured if set before first commit 2019-05-03 15:37:32 -06:00