mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-10-17 23:41:44 +00:00
protocols: add hyprland_surface_v1.set_visible_region implementation (#9120)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <hyprutils/math/Region.hpp>
|
||||
#include <vector>
|
||||
#include <unordered_map>
|
||||
#include "WaylandProtocol.hpp"
|
||||
@@ -19,7 +20,9 @@ class CHyprlandSurface {
|
||||
private:
|
||||
SP<CHyprlandSurfaceV1> m_pResource;
|
||||
WP<CWLSurfaceResource> m_pSurface;
|
||||
float m_fOpacity = 1.0;
|
||||
float m_fOpacity = 1.0;
|
||||
bool m_bVisibleRegionChanged = false;
|
||||
CRegion m_visibleRegion;
|
||||
|
||||
void destroy();
|
||||
|
||||
|
Reference in New Issue
Block a user