debug: get rid of useless 1s in logs (#6969)

* get rid of 1s in logs lol

* replace WLR with AQ in logs
This commit is contained in:
Ikalco
2024-07-22 11:06:11 -05:00
committed by GitHub
parent 77b134e23b
commit e8374e0792
9 changed files with 20 additions and 20 deletions

View File

@@ -28,7 +28,7 @@ void CFractionalScaleProtocol::onManagerResourceDestroy(wl_resource* res) {
void CFractionalScaleProtocol::onGetFractionalScale(CWpFractionalScaleManagerV1* pMgr, uint32_t id, SP<CWLSurfaceResource> surface) {
for (auto& [k, v] : m_mAddons) {
if (k == surface) {
LOGM(ERR, "Surface {:x} already has a fractionalScale addon", (uintptr_t)surface);
LOGM(ERR, "Surface {:x} already has a fractionalScale addon", (uintptr_t)surface.get());
pMgr->error(WP_FRACTIONAL_SCALE_MANAGER_V1_ERROR_FRACTIONAL_SCALE_EXISTS, "Fractional scale already exists");
return;
}
@@ -80,4 +80,4 @@ bool CFractionalScaleAddon::good() {
SP<CWLSurfaceResource> CFractionalScaleAddon::surf() {
return surface.lock();
}
}