mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 02:35:59 +01:00
drm: don't rollback cursors on test
This commit is contained in:
parent
9ccb4411ee
commit
7c3565f9be
1 changed files with 5 additions and 1 deletions
|
@ -1316,7 +1316,11 @@ void Aquamarine::SDRMConnector::applyCommit(const SDRMConnectorCommitData& data)
|
|||
}
|
||||
|
||||
void Aquamarine::SDRMConnector::rollbackCommit(const SDRMConnectorCommitData& data) {
|
||||
// cursors are applied regardless.
|
||||
// cursors are applied regardless,
|
||||
// unless this was a test
|
||||
if (data.test)
|
||||
return;
|
||||
|
||||
if (crtc->cursor && data.cursorFB)
|
||||
crtc->cursor->back = data.cursorFB;
|
||||
|
||||
|
|
Loading…
Reference in a new issue