swayfx/sway/config
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
..
bar.c swaybar: complete barconfig_update event handling 2019-09-04 16:48:50 -10:00
input.c Implement input_cmd_xkb_file (#3999) 2019-07-17 19:26:58 -04:00
output.c Fix segfault in wlr_output_manager_v1_set_configuration 2019-10-27 10:51:02 -04:00
seat.c add seat sub command 'xcursor_theme' 2019-06-05 11:00:10 -04:00