Commit e3e6b3de authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

platforms/x11: Use correct logging category

parent b4609092
...@@ -187,11 +187,11 @@ bool X11StandalonePlatform::compositingPossible() const ...@@ -187,11 +187,11 @@ bool X11StandalonePlatform::compositingPossible() const
if (!Xcb::Extensions::self()->isCompositeAvailable()) { if (!Xcb::Extensions::self()->isCompositeAvailable()) {
qCDebug(KWIN_CORE) << "No composite extension available"; qCDebug(KWIN_X11STANDALONE) << "No composite extension available";
return false; return false;
} }
if (!Xcb::Extensions::self()->isDamageAvailable()) { if (!Xcb::Extensions::self()->isDamageAvailable()) {
qCDebug(KWIN_CORE) << "No damage extension available"; qCDebug(KWIN_X11STANDALONE) << "No damage extension available";
return false; return false;
} }
if (hasGlx()) if (hasGlx())
...@@ -205,7 +205,7 @@ bool X11StandalonePlatform::compositingPossible() const ...@@ -205,7 +205,7 @@ bool X11StandalonePlatform::compositingPossible() const
} else if (qstrcmp(qgetenv("KWIN_COMPOSE"), "O2ES") == 0) { } else if (qstrcmp(qgetenv("KWIN_COMPOSE"), "O2ES") == 0) {
return true; return true;
} }
qCDebug(KWIN_CORE) << "No OpenGL or XRender/XFixes support"; qCDebug(KWIN_X11STANDALONE) << "No OpenGL or XRender/XFixes support";
return false; return false;
} }
...@@ -365,7 +365,7 @@ void X11StandalonePlatform::invertScreen() ...@@ -365,7 +365,7 @@ void X11StandalonePlatform::invertScreen()
continue; continue;
} }
if (gamma->size) { 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; const int half = gamma->size / 2 + 1;
uint16_t *red = gamma.red(); uint16_t *red = gamma.red();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment