pointer: expand sw cursor damage box

fixes #8031

just a bit, rounding errors I guess
This commit is contained in:
Vaxry 2024-10-08 17:02:55 +01:00
parent 736a8735b3
commit b9990468f3

View file

@ -657,7 +657,7 @@ Vector2D CPointerManager::closestValid(const Vector2D& pos) {
} }
void CPointerManager::damageIfSoftware() { void CPointerManager::damageIfSoftware() {
auto b = getCursorBoxGlobal(); auto b = getCursorBoxGlobal().expand(4);
static auto PNOHW = CConfigValue<Hyprlang::INT>("cursor:no_hardware_cursors"); static auto PNOHW = CConfigValue<Hyprlang::INT>("cursor:no_hardware_cursors");