diff options
| author | outfoxxed <outfoxxed@outfoxxed.me> | 2025-01-23 13:57:33 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-23 22:57:33 +0100 |
| commit | 465cf66df14c28427ba30580253be6e3908bd28c (patch) | |
| tree | 93bc76546ffa329972863fd2716e8856debaeef8 /src/render/pass/SurfacePassElement.hpp | |
| parent | 1a0a22ad038bbd51c4e1514868d6dcd505af0242 (diff) | |
protocols: add hyprland_surface_v1.set_visible_region implementation (#9120)
Diffstat (limited to 'src/render/pass/SurfacePassElement.hpp')
| -rw-r--r-- | src/render/pass/SurfacePassElement.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/pass/SurfacePassElement.hpp b/src/render/pass/SurfacePassElement.hpp index 12387367..1b6ddb0b 100644 --- a/src/render/pass/SurfacePassElement.hpp +++ b/src/render/pass/SurfacePassElement.hpp @@ -57,6 +57,7 @@ class CSurfacePassElement : public IPassElement { virtual std::optional<CBox> boundingBox(); virtual CRegion opaqueRegion(); virtual void discard(); + CRegion visibleRegion(bool& cancel); virtual const char* passName() { return "CSurfacePassElement"; |
