aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-12-11 22:30:17 +0000
committerVaxry <[email protected]>2024-12-11 22:30:17 +0000
commit7c03e9d376abe5308c47772b4c17a9c345788f60 (patch)
treea9d5274e2511f233e9cc388c7a94521ff723397e
parentdf956a0f6fbcfd7397b2d7b86883c0936c7795ec (diff)
downloadHyprland-7c03e9d376abe5308c47772b4c17a9c345788f60.tar.gz
Hyprland-7c03e9d376abe5308c47772b4c17a9c345788f60.zip
core/data-device: expand damage region to fix minor px errors
fixes #7656
-rw-r--r--src/protocols/core/DataDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/core/DataDevice.cpp b/src/protocols/core/DataDevice.cpp
index 8ad5caae..bf35f6bd 100644
--- a/src/protocols/core/DataDevice.cpp
+++ b/src/protocols/core/DataDevice.cpp
@@ -687,7 +687,7 @@ void CWLDataDeviceProtocol::renderDND(PHLMONITOR pMonitor, timespec* when) {
const auto POS = g_pInputManager->getMouseCoordsInternal();
- CBox box = CBox{POS, dnd.dndSurface->current.size}.translate(-pMonitor->vecPosition + g_pPointerManager->cursorSizeLogical() / 2.F).scale(pMonitor->scale);
+ CBox box = CBox{POS, dnd.dndSurface->current.size}.translate(-pMonitor->vecPosition + g_pPointerManager->cursorSizeLogical() / 2.F).scale(pMonitor->scale).expand(5);
g_pHyprOpenGL->renderTexture(dnd.dndSurface->current.texture, &box, 1.F);
box = CBox{POS, dnd.dndSurface->current.size}.translate(g_pPointerManager->cursorSizeLogical() / 2.F);