1
1
mirror of https://github.com/swaywm/sway synced 2024-09-28 11:20:05 +02:00
sway/include
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
..
sway Fix segfault in wlr_output_manager_v1_set_configuration 2019-10-27 10:51:02 -04:00
swaybar swaybar: do not retry search for tray icons 2019-10-21 17:22:25 +02:00
swaynag
background-image.h
cairo.h
ipc-client.h
ipc.h
list.h
log.h
loop.h
meson.build
pango.h
pool-buffer.h
stringop.h
util.h