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.cpp | |
| parent | 75c87bde3cfa38105a8c882c790e235503dc46bd (diff) | |
protocols: minor style improvements to new impls
Diffstat (limited to 'src/protocols/TearingControl.cpp')
| -rw-r--r-- | src/protocols/TearingControl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocols/TearingControl.cpp b/src/protocols/TearingControl.cpp index 21d37e3c..40167766 100644 --- a/src/protocols/TearingControl.cpp +++ b/src/protocols/TearingControl.cpp @@ -26,6 +26,7 @@ void CTearingControlProtocol::onGetController(wl_client* client, wl_resource* re m_vTearingControllers.emplace_back(std::make_unique<CTearingControl>(std::make_shared<CWpTearingControlV1>(client, wl_resource_get_version(resource), id), surf)).get(); if (!CONTROLLER->good()) { + wl_resource_post_no_memory(resource); m_vTearingControllers.pop_back(); return; } |
