diff options
author | Vaxry <[email protected]> | 2024-10-09 00:26:40 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-10-09 00:26:40 +0100 |
commit | bc299928ad5571300180eb8edb6742ed3bbf0282 (patch) | |
tree | 4b98fc9ff65e95a126c116e3ecc00618a259e90b /src/protocols/XDGOutput.hpp | |
parent | ac658500fbebe607f2db83f11c37f0a3a05ef734 (diff) | |
download | Hyprland-bc299928ad5571300180eb8edb6742ed3bbf0282.tar.gz Hyprland-bc299928ad5571300180eb8edb6742ed3bbf0282.zip |
output/xdg-output: avoid sending events to released globals
ref #6835
Diffstat (limited to 'src/protocols/XDGOutput.hpp')
-rw-r--r-- | src/protocols/XDGOutput.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/XDGOutput.hpp b/src/protocols/XDGOutput.hpp index 15d86cc7..520f3aaa 100644 --- a/src/protocols/XDGOutput.hpp +++ b/src/protocols/XDGOutput.hpp @@ -6,6 +6,7 @@ class CMonitor; class CXDGOutputProtocol; +class CWLOutputProtocol; class CXDGOutput { public: @@ -16,6 +17,7 @@ class CXDGOutput { private: WP<CMonitor> monitor; SP<CZxdgOutputV1> resource; + WP<CWLOutputProtocol> outputProto; std::optional<Vector2D> overridePosition; |