diff options
author | Simon Ser <contact@emersion.fr> | 2021-06-13 14:22:24 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-06-17 00:25:27 +0200 |
commit | 6c3d080e25e56404228ad7704eed43e40fa0c623 (patch) | |
tree | f6f304b3a9bb2a9b34e93a26a5c7eaba2c69fecb /xwayland | |
parent | 6259fd23fbaecbea5a5fb71f2a0bf3735b4c17cd (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')
0 files changed, 0 insertions, 0 deletions