aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwayland.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-06-13 14:22:24 +0200
committerKenny Levinsen <kl@kl.wtf>2021-06-17 00:25:27 +0200
commit6c3d080e25e56404228ad7704eed43e40fa0c623 (patch)
treef6f304b3a9bb2a9b34e93a26a5c7eaba2c69fecb /xwayland/xwayland.c
parent6259fd23fbaecbea5a5fb71f2a0bf3735b4c17cd (diff)
backend/drm: populate cursor plane's current_fb
The set_cursor() hook is a little bit special: it's not really synchronized to commit() or test(). Once set_cursor() returns true, the new cursor is part of the current state. This fixes a state where wlr_drm_connector.cursor_enabled is true but there is no FB available. This is triggered by set_cursor() followed by a failed commit(), which resets pending_fb. We should definitely fix the output interface to make the cursor part of the pending state, but that's a more involved change.
Diffstat (limited to 'xwayland/xwayland.c')
0 files changed, 0 insertions, 0 deletions