summaryrefslogtreecommitdiff
path: root/src/events
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-04 15:58:12 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-04 15:58:12 +0200
commitc71b76a9e04df40f57b3d44fbcab2ed65eacb1ee (patch)
treeafac03742dccbf61d5f06ee55aa77843e13d3386 /src/events
parent853a33888b85d296d00ab015d4f68431862bae82 (diff)
fix chromium part 1
Diffstat (limited to 'src/events')
-rw-r--r--src/events/Windows.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp
index 6a6368e7..0b0ce909 100644
--- a/src/events/Windows.cpp
+++ b/src/events/Windows.cpp
@@ -368,6 +368,8 @@ void Events::listener_commitWindow(void* owner, void* data) {
if (!g_pCompositor->windowValidMapped(PWINDOW))
return;
+ g_pHyprRenderer->damageSurface(g_pXWaylandManager->getWindowSurface(PWINDOW), PWINDOW->m_vRealPosition.goalv().x, PWINDOW->m_vRealPosition.goalv().y);
+
// Debug::log(LOG, "Window %x committed", PWINDOW); // SPAM!
}