diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-24 15:45:59 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-24 15:48:06 +0100 |
| commit | 0d1bb65c75d7ddc323afd31eb844b2332588bdf5 (patch) | |
| tree | 9cd507c107117db5271d8bc6b2bc5273bf097592 /src/managers/ProtocolManager.cpp | |
| parent | 34413d1f367b56e17614ee0455b6bf0b61a5aed1 (diff) | |
ext-foreign-toplevel: add implementation
Diffstat (limited to 'src/managers/ProtocolManager.cpp')
| -rw-r--r-- | src/managers/ProtocolManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp index 96a0707b..53535346 100644 --- a/src/managers/ProtocolManager.cpp +++ b/src/managers/ProtocolManager.cpp @@ -9,6 +9,7 @@ #include "../protocols/XDGDecoration.hpp" #include "../protocols/AlphaModifier.hpp" #include "../protocols/GammaControl.hpp" +#include "../protocols/ForeignToplevel.hpp" #include "tearing-control-v1.hpp" #include "fractional-scale-v1.hpp" @@ -19,6 +20,7 @@ #include "xdg-decoration-unstable-v1.hpp" #include "alpha-modifier-v1.hpp" #include "wlr-gamma-control-unstable-v1.hpp" +#include "ext-foreign-toplevel-list-v1.hpp" CProtocolManager::CProtocolManager() { @@ -31,6 +33,7 @@ CProtocolManager::CProtocolManager() { PROTO::xdgDecoration = std::make_unique<CXDGDecorationProtocol>(&zxdg_decoration_manager_v1_interface, 1, "XDGDecoration"); PROTO::alphaModifier = std::make_unique<CAlphaModifierProtocol>(&wp_alpha_modifier_v1_interface, 1, "AlphaModifier"); PROTO::gamma = std::make_unique<CGammaControlProtocol>(&zwlr_gamma_control_manager_v1_interface, 1, "GammaControl"); + PROTO::foreignToplevel = std::make_unique<CForeignToplevelProtocol>(&ext_foreign_toplevel_list_v1_interface, 1, "ForeignToplevel"); // Old protocol implementations. // TODO: rewrite them to use hyprwayland-scanner. |
