swayfx/sway/tree
Simon Ser ec14a00e8c Fix segfault in wlr_output_manager_v1_set_configuration
Calling wlr_output_manager_v1_set_configuration with an enabled output
and a NULL mode is incorrect if the output doesn't support modes.

When DPMS'ing an output, wlr_output_enable(output, false) is called.
This de-allocates the CRTC and sets wlr_output.current_mode to NULL.

Because we mark DPMS'ed outputs as enabled, we also need to provide a
correct output mode. Add a field to sway_output to hold the current
mode.

Closes: https://github.com/swaywm/wlroots/issues/1867
2019-10-27 10:51:02 -04:00
..
arrange.c arrange: remove gaps for workspace location deltas 2019-07-26 18:13:27 +03:00
container.c Allow moving a container hidden in scratchpad 2019-08-20 13:09:52 -04:00
node.c Fix scratchpad fullscreen behavior and crash 2019-04-13 08:48:37 -06:00
output.c Fix segfault in wlr_output_manager_v1_set_configuration 2019-10-27 10:51:02 -04:00
root.c Fix sway crashes for scratchpad layouts 2019-06-16 12:29:16 -04:00
view.c view: create container before selecting workspace 2019-09-22 15:18:51 -04:00
workspace.c workspace_split: focus middle if workspace focused 2019-08-14 13:19:16 +09:00