diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-05 13:48:22 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-05 13:48:22 +0200 |
| commit | 8369f2980aa0c98f087aaf2133c94af8027f14fb (patch) | |
| tree | 6eb294b27805400f2b6e842fa6f6bc3041c4d1c6 /src/events/Layers.cpp | |
| parent | 500cbd135f3c928f1b16c13bc5a9f39c966127b5 (diff) | |
crucial fixes to full damage tracking 🎉
should now be mostly usable
Diffstat (limited to 'src/events/Layers.cpp')
| -rw-r--r-- | src/events/Layers.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/events/Layers.cpp b/src/events/Layers.cpp index 8b4e54fb..d3cbdef0 100644 --- a/src/events/Layers.cpp +++ b/src/events/Layers.cpp @@ -180,7 +180,6 @@ void Events::listener_commitLayerSurface(void* owner, void* data) { layersurface->position = Vector2D(layersurface->geometry.x, layersurface->geometry.y); - // i know i could reuse the last geomFixed box, but this way my stupid linter doesn't give me errors, and for some reason if i do = {...} it does, even though it compiles - wlr_box geomFixedAfter = {layersurface->geometry.x + PMONITOR->vecPosition.x, layersurface->geometry.y + PMONITOR->vecPosition.y, layersurface->geometry.width, layersurface->geometry.height}; - g_pHyprRenderer->damageBox(&geomFixedAfter); + // TODO: optimize this. This does NOT need to be here but it prevents some issues with full DT. + g_pHyprRenderer->damageMonitor(PMONITOR); }
\ No newline at end of file |
