aboutsummaryrefslogtreecommitdiff
path: root/examples/foreign-toplevel.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-01-19 10:14:01 +0100
committeremersion <contact@emersion.fr>2019-01-19 10:18:03 +0100
commitd4ffa5b7a6d751ae8161cc1d301efd66342c2975 (patch)
tree9a8e1074a5a31d1163cc7e3be218fc541e547ca1 /examples/foreign-toplevel.c
parent3e21d0bd4839dc8180c56d426f5b3311fdd2715f (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/foreign-toplevel.c')
0 files changed, 0 insertions, 0 deletions