core/renderloop: add a debug print for presentation mode changes
It can be useful for debugging and these changes don't happen too often
This commit is contained in:
parent
5316cf8d50
commit
1c7c16f28b
1 changed files with 3 additions and 0 deletions
|
@ -279,6 +279,9 @@ std::chrono::nanoseconds RenderLoop::nextPresentationTimestamp() const
|
|||
|
||||
void RenderLoop::setPresentationMode(PresentationMode mode)
|
||||
{
|
||||
if (mode != d->presentationMode) {
|
||||
qCDebug(KWIN_CORE) << "Changed presentation mode to" << mode;
|
||||
}
|
||||
d->presentationMode = mode;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue