diff options
author | emersion <contact@emersion.fr> | 2019-01-19 10:14:01 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-01-19 10:18:03 +0100 |
commit | d4ffa5b7a6d751ae8161cc1d301efd66342c2975 (patch) | |
tree | 9a8e1074a5a31d1163cc7e3be218fc541e547ca1 /examples/layer-shell.c | |
parent | 3e21d0bd4839dc8180c56d426f5b3311fdd2715f (diff) |
backend/drm: fix state for outputs loosing their CRTC
When there aren't enough CRTCs for all outputs, we try to move a CRTC from a
disabled output to an enabled one. When this happens, the old output's state
wasn't changed, so the compositor thought it was still enabled and rendering.
This commit marks the old output as WLR_DRM_CONN_NEEDS_MODESET and sets its
current mode to NULL.
Diffstat (limited to 'examples/layer-shell.c')
0 files changed, 0 insertions, 0 deletions