debug: move to hyprutils' logger (#12673)
This commit is contained in:
parent
f88deb928a
commit
6175ecd4c4
147 changed files with 1696 additions and 1709 deletions
|
|
@ -217,14 +217,14 @@ void CPointerConstraintsProtocol::destroyPointerConstraint(CPointerConstraint* h
|
|||
|
||||
void CPointerConstraintsProtocol::onNewConstraint(SP<CPointerConstraint> constraint, CZwpPointerConstraintsV1* pMgr) {
|
||||
if UNLIKELY (!constraint->good()) {
|
||||
LOGM(ERR, "Couldn't create constraint??");
|
||||
LOGM(Log::ERR, "Couldn't create constraint??");
|
||||
pMgr->noMemory();
|
||||
m_constraints.pop_back();
|
||||
return;
|
||||
}
|
||||
|
||||
if UNLIKELY (!constraint->owner()) {
|
||||
LOGM(ERR, "New constraint has no CWLSurface owner??");
|
||||
LOGM(Log::ERR, "New constraint has no CWLSurface owner??");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -233,7 +233,7 @@ void CPointerConstraintsProtocol::onNewConstraint(SP<CPointerConstraint> constra
|
|||
const auto DUPES = std::ranges::count_if(m_constraints, [OWNER](const auto& c) { return c->owner() == OWNER; });
|
||||
|
||||
if UNLIKELY (DUPES > 1) {
|
||||
LOGM(ERR, "Constraint for surface duped");
|
||||
LOGM(Log::ERR, "Constraint for surface duped");
|
||||
pMgr->error(ZWP_POINTER_CONSTRAINTS_V1_ERROR_ALREADY_CONSTRAINED, "Surface already confined");
|
||||
m_constraints.pop_back();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue