diff options
Diffstat (limited to 'src/events/Windows.cpp')
| -rw-r--r-- | src/events/Windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index b5273187..adc0c762 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -880,7 +880,7 @@ void Events::listener_commitWindow(void* owner, void* data) { // tearing: if solitary, redraw it. This still might be a single surface window if (PMONITOR && PMONITOR->solitaryClient.lock() == PWINDOW && PWINDOW->canBeTorn() && PMONITOR->tearingState.canTear && PWINDOW->m_pWLSurface->resource()->current.texture) { - CRegion damageBox{PWINDOW->m_pWLSurface->resource()->accumulateCurrentBufferDamage()}; + CRegion damageBox{PWINDOW->m_pWLSurface->resource()->current.accumulateBufferDamage()}; if (!damageBox.empty()) { if (PMONITOR->tearingState.busy) { |
