platforms/x11: Use correct logging category

This commit is contained in:
Vlad Zahorodnii 2020-11-28 15:58:43 +02:00
parent b460909212
commit e3e6b3de2d

View file

@ -187,11 +187,11 @@ bool X11StandalonePlatform::compositingPossible() const
if (!Xcb::Extensions::self()->isCompositeAvailable()) {
qCDebug(KWIN_CORE) << "No composite extension available";
qCDebug(KWIN_X11STANDALONE) << "No composite extension available";
return false;
}
if (!Xcb::Extensions::self()->isDamageAvailable()) {
qCDebug(KWIN_CORE) << "No damage extension available";
qCDebug(KWIN_X11STANDALONE) << "No damage extension available";
return false;
}
if (hasGlx())
@ -205,7 +205,7 @@ bool X11StandalonePlatform::compositingPossible() const
} else if (qstrcmp(qgetenv("KWIN_COMPOSE"), "O2ES") == 0) {
return true;
}
qCDebug(KWIN_CORE) << "No OpenGL or XRender/XFixes support";
qCDebug(KWIN_X11STANDALONE) << "No OpenGL or XRender/XFixes support";
return false;
}
@ -365,7 +365,7 @@ void X11StandalonePlatform::invertScreen()
continue;
}
if (gamma->size) {
qCDebug(KWIN_CORE) << "inverting screen using xcb_randr_set_crtc_gamma";
qCDebug(KWIN_X11STANDALONE) << "inverting screen using xcb_randr_set_crtc_gamma";
const int half = gamma->size / 2 + 1;
uint16_t *red = gamma.red();