diff options
author | Vaxry <[email protected]> | 2024-04-21 19:29:45 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-04-21 19:29:45 +0100 |
commit | 55f1f3fedfc6dc5da7f304bdfc8296a0a056f781 (patch) | |
tree | e82c7dcbf82cc50427430d465cb919cea4a7752f /src/protocols/XDGOutput.hpp | |
parent | 75c87bde3cfa38105a8c882c790e235503dc46bd (diff) | |
download | Hyprland-55f1f3fedfc6dc5da7f304bdfc8296a0a056f781.tar.gz Hyprland-55f1f3fedfc6dc5da7f304bdfc8296a0a056f781.zip |
protocols: minor style improvements to new impls
Diffstat (limited to 'src/protocols/XDGOutput.hpp')
-rw-r--r-- | src/protocols/XDGOutput.hpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/protocols/XDGOutput.hpp b/src/protocols/XDGOutput.hpp index d2314b7b..73e7d53e 100644 --- a/src/protocols/XDGOutput.hpp +++ b/src/protocols/XDGOutput.hpp @@ -31,15 +31,17 @@ class CXDGOutputProtocol : public IWaylandProtocol { virtual void bindManager(wl_client* client, void* data, uint32_t ver, uint32_t id); - void onManagerResourceDestroy(wl_resource* res); - void onOutputResourceDestroy(wl_resource* res); - void onManagerGetXDGOutput(CZxdgOutputManagerV1* mgr, uint32_t id, wl_resource* outputResource); - private: - void updateAllOutputs(); + void onManagerResourceDestroy(wl_resource* res); + void onOutputResourceDestroy(wl_resource* res); + void onManagerGetXDGOutput(CZxdgOutputManagerV1* mgr, uint32_t id, wl_resource* outputResource); + void updateAllOutputs(); + // std::vector<UP<CZxdgOutputManagerV1>> m_vManagerResources; std::vector<UP<CXDGOutput>> m_vXDGOutputs; + + friend class CXDGOutput; }; namespace PROTO { |