From 7faa3c367d22a44417a984d9cb50b3eb82258c63 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Fri, 7 Oct 2022 10:35:17 +0100 Subject: Added clipping support, clip windows on slide anim --- src/render/OpenGL.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/render/OpenGL.hpp') diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 30d66084..33ebb964 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -67,6 +67,8 @@ struct SCurrentRenderData { Vector2D primarySurfaceUVTopLeft = Vector2D(-1, -1); Vector2D primarySurfaceUVBottomRight = Vector2D(-1, -1); + + wlr_box clipBox = {}; }; class CHyprOpenGLImpl { -- cgit v1.2.3