aboutsummaryrefslogtreecommitdiff
path: root/xwayland/selection
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-12-29 10:55:16 +0100
committerDrew DeVault <sir@cmpwn.com>2019-12-30 14:32:37 -0700
commit21e1953b61abae4911c32c457c1d87530e622610 (patch)
tree4ff6aa9092c93adc30fd4d8b5ef6381a784d0211 /xwayland/selection
parentff29843d875a5f47dfa58445c80c07595af75051 (diff)
backend/drm: don't modeset with a NULL mode after TTY switch
This fixes a segfault in drm_connector_set_mode (mode = NULL). This happens because we set wlr_output.enabled to true if the connector is attached to the CRTC. When the user disables an output in the wlroots-based compositor, switches to another VT (enabling the output), then switches back, wlroots sets wlr_output.enabled to true but wlr_output.current_mode is NULL. We should consider not reading properties from KMS after a TTY switch, disabling all connectors. However this may result in flickering (outputs being disabled then re-enabled). Closes: https://github.com/swaywm/wlroots/issues/1874
Diffstat (limited to 'xwayland/selection')
0 files changed, 0 insertions, 0 deletions