mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-20 10:18:25 +00:00
output: submit damage to kms
This commit is contained in:
@@ -822,6 +822,8 @@ bool CMonitor::attemptDirectScanout() {
|
||||
Debug::log(TRACE, "presentFeedback for DS");
|
||||
PSURFACE->presentFeedback(&now, this, true);
|
||||
|
||||
output->state->addDamage(CBox{{}, vecPixelSize});
|
||||
|
||||
if (state.commit()) {
|
||||
if (lastScanout.expired()) {
|
||||
lastScanout = PCANDIDATE;
|
||||
|
Reference in New Issue
Block a user