swayfx/include/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
..
desktop Implement inhibit_idle command 2019-03-24 19:26:12 -06:00
input input/cursor: handle image surface destroy 2020-01-05 23:03:34 +01:00
tree Fix crash when showing scratchpad hidden split containers 2020-01-16 21:48:25 -05:00
commands.h bar_cmd_colors: remove add_color 2019-12-28 10:07:25 +01:00
config.h seat_cmd_keyboard_grouping: change keymap to smart 2019-12-16 12:03:11 -05:00
criteria.h criteria: match containers without view 2020-02-04 19:52:21 -05:00
decoration.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
desktop.h Store geometry in the view and handle any floating view resizing 2018-08-18 15:10:06 +10:00
ipc-json.h Make json-c include respect pkg-config --cflags 2019-01-23 21:50:06 -05:00
ipc-server.h ipc: add an input event 2019-07-23 20:45:46 +03:00
layers.h Handle layer changes for layer shell surfaces 2019-10-27 11:07:18 -04:00
output.h Stop calling apply_output_config from output_enable 2020-02-11 20:52:02 -05:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h Fix compiling with -fno-common 2020-01-24 10:16:59 +01:00
surface.h view: add max_render_time 2019-11-17 20:18:42 +01:00
swaynag.h Spawn swaynag as a wayland client 2019-04-14 12:41:59 +03:00
xdg_decoration.h Improve CSD logic 2018-09-27 22:51:37 +10:00
xwayland.h Parse missing i3 window types 2018-10-21 15:59:04 +02:00