diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-21 19:29:45 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-21 19:29:45 +0100 |
| commit | 55f1f3fedfc6dc5da7f304bdfc8296a0a056f781 (patch) | |
| tree | e82c7dcbf82cc50427430d465cb919cea4a7752f /src/protocols/TearingControl.hpp | |
| parent | 75c87bde3cfa38105a8c882c790e235503dc46bd (diff) | |
protocols: minor style improvements to new impls
Diffstat (limited to 'src/protocols/TearingControl.hpp')
| -rw-r--r-- | src/protocols/TearingControl.hpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/protocols/TearingControl.hpp b/src/protocols/TearingControl.hpp index fbd0e1fc..b13bbb82 100644 --- a/src/protocols/TearingControl.hpp +++ b/src/protocols/TearingControl.hpp @@ -39,15 +39,17 @@ class CTearingControlProtocol : public IWaylandProtocol { virtual void bindManager(wl_client* client, void* data, uint32_t ver, uint32_t id); - void onManagerResourceDestroy(wl_resource* res); - void onControllerDestroy(CTearingControl* control); - void onGetController(wl_client* client, wl_resource* resource, uint32_t id, wlr_surface* surf); - private: - void onWindowDestroy(CWindow* pWindow); + void onManagerResourceDestroy(wl_resource* res); + void onControllerDestroy(CTearingControl* control); + void onGetController(wl_client* client, wl_resource* resource, uint32_t id, wlr_surface* surf); + void onWindowDestroy(CWindow* pWindow); + // std::vector<UP<CWpTearingControlManagerV1>> m_vManagers; std::vector<UP<CTearingControl>> m_vTearingControllers; + + friend class CTearingControl; }; namespace PROTO { |
