summaryrefslogtreecommitdiff
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Renderer.cpp')
-rw-r--r--src/render/Renderer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 71ff5f87..2909ce55 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -495,6 +495,11 @@ void CHyprRenderer::damageBox(wlr_box* pBox) {
}
}
+void CHyprRenderer::damageBox(const int& x, const int& y, const int& w, const int& h) {
+ wlr_box box = {x, y, w, h};
+ damageBox(&box);
+}
+
void CHyprRenderer::renderDragIcon(SMonitor* pMonitor, timespec* time) {
if (!(g_pInputManager->m_sDrag.dragIcon && g_pInputManager->m_sDrag.iconMapped && g_pInputManager->m_sDrag.dragIcon->surface))
return;