From 3c059d3a24249e947ed2d7877060a865904cacca Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Tue, 31 Jan 2023 13:00:15 +0100 Subject: [PATCH] scene/surfaceitem_x11: improve size mismatch warning --- src/scene/surfaceitem_x11.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scene/surfaceitem_x11.cpp b/src/scene/surfaceitem_x11.cpp index 8859f8be9c..d26f360d40 100644 --- a/src/scene/surfaceitem_x11.cpp +++ b/src/scene/surfaceitem_x11.cpp @@ -242,8 +242,8 @@ void SurfacePixmapX11::create() } const QRectF bufferGeometry = window->bufferGeometry(); if (windowGeometry.size() != bufferGeometry.size()) { - qCDebug(KWIN_CORE, "Failed to create window pixmap for window 0x%x (mismatched geometry)", - window->window()); + qCDebug(KWIN_CORE, "Failed to create window pixmap for window 0x%x: window size (%fx%f) != buffer size (%fx%f)", window->window(), + windowGeometry.size().width(), windowGeometry.size().height(), bufferGeometry.width(), bufferGeometry.height()); xcb_free_pixmap(connection, pixmap); return; }