summaryrefslogtreecommitdiff
path: root/src/protocols/TearingControl.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-04-21 19:29:45 +0100
committerVaxry <vaxry@vaxry.net>2024-04-21 19:29:45 +0100
commit55f1f3fedfc6dc5da7f304bdfc8296a0a056f781 (patch)
treee82c7dcbf82cc50427430d465cb919cea4a7752f /src/protocols/TearingControl.hpp
parent75c87bde3cfa38105a8c882c790e235503dc46bd (diff)
protocols: minor style improvements to new impls
Diffstat (limited to 'src/protocols/TearingControl.hpp')
-rw-r--r--src/protocols/TearingControl.hpp12
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 {