Update debian/patches/surfaces.patch

This commit is contained in:
ferreo 2025-01-28 11:48:13 +01:00
parent c2fe14c0b8
commit db86838ff7

View File

@ -1,15 +1,15 @@
diff --git a/src/desktop/WLSurface.hpp b/src/desktop/WLSurface.hpp diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp
index 5f8da715..aa3600a2 100644 index ee5d9a86..88aa5f59 100644
--- a/src/desktop/WLSurface.hpp --- a/src/render/OpenGL.cpp
+++ b/src/desktop/WLSurface.hpp +++ b/src/render/OpenGL.cpp
@@ -88,7 +88,7 @@ class CWLSurface { @@ -875,7 +875,7 @@ void CHyprOpenGLImpl::begin(PHLMONITOR pMonitor, const CRegion& damage_, CFrameb
// used by the hyprland-surface protocol const auto PRBO = g_pHyprRenderer->getCurrentRBO();
float m_fOverallOpacity = 1.F; const bool FBPROPERSIZE = !fb || fb->m_vSize == pMonitor->vecPixelSize;
- CRegion m_visibleRegion; - const bool USERFORCEDINTROSPECTION = *PFORCEINTROSPECTION == 1 ? true : (*PFORCEINTROSPECTION == 2 ? g_pHyprRenderer->isNvidia() : false); // 0 - no, 1 - yes, 2 - nvidia only
+ CRegion m_visibleRegion = CBox{0, 0, INT32_MAX, INT32_MAX}; + const bool USERFORCEDINTROSPECTION = *PFORCEINTROSPECTION == 1 || *PFORCEINTROSPECTION == 2 ? true : false; // 0 - no, 1 - yes, 2 - yes
struct { if (USERFORCEDINTROSPECTION || m_RenderData.forceIntrospection || !FBPROPERSIZE || m_sFinalScreenShader.program > 0 ||
CSignal destroy; (PRBO && pMonitor->vecPixelSize != PRBO->getFB()->m_vSize) || passRequiresIntrospection(pMonitor)) {