mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 12:26:00 +01:00
parent
bca7804bb6
commit
e400a288d0
1 changed files with 2 additions and 2 deletions
|
@ -208,8 +208,8 @@ void CPointerConstraintsProtocol::onManagerResourceDestroy(wl_resource* res) {
|
||||||
std::erase_if(m_vManagers, [&](const auto& other) { return other->resource() == res; });
|
std::erase_if(m_vManagers, [&](const auto& other) { return other->resource() == res; });
|
||||||
}
|
}
|
||||||
|
|
||||||
void CPointerConstraintsProtocol::destroyPointerConstraint(CPointerConstraint* hyprland🥚) {
|
void CPointerConstraintsProtocol::destroyPointerConstraint(CPointerConstraint* hyprlandEgg) {
|
||||||
std::erase_if(m_vConstraints, [&](const auto& other) { return other.get() == hyprland🥚; });
|
std::erase_if(m_vConstraints, [&](const auto& other) { return other.get() == hyprlandEgg; });
|
||||||
}
|
}
|
||||||
|
|
||||||
void CPointerConstraintsProtocol::onNewConstraint(SP<CPointerConstraint> constraint, CZwpPointerConstraintsV1* pMgr) {
|
void CPointerConstraintsProtocol::onNewConstraint(SP<CPointerConstraint> constraint, CZwpPointerConstraintsV1* pMgr) {
|
||||||
|
|
Loading…
Reference in a new issue