mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 02:35:59 +01:00
drm: fixup cursor fb rotation cases
This commit is contained in:
parent
dcac376308
commit
a6f1ad1560
1 changed files with 1 additions and 1 deletions
|
@ -1237,7 +1237,7 @@ void Aquamarine::SDRMConnector::rollbackCommit(const SDRMConnectorCommitData& da
|
|||
void Aquamarine::SDRMConnector::onPresent() {
|
||||
crtc->primary->last = crtc->primary->front;
|
||||
crtc->primary->front = crtc->primary->back;
|
||||
if (crtc->cursor && crtc->cursor->back /* Don't shift if it hasn't updated */) {
|
||||
if (crtc->cursor) {
|
||||
crtc->cursor->last = crtc->cursor->front;
|
||||
crtc->cursor->front = crtc->cursor->back;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue