From 4bd62f740f2adc0696f24e664225cb3af82832dd Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Tue, 30 Jul 2024 10:39:57 +0200 Subject: [PATCH] QWaylandXdgSurface: add suspended in debug output Pick-to: 6.8 Change-Id: I9318d132d3863f38d7264ebe360aad95de575fc4 Reviewed-by: David Edmundson --- .../shellintegration/xdg-shell/qwaylandxdgshell.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp b/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp index da6a8b73a7c..11add2809bc 100644 --- a/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp +++ b/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp @@ -105,7 +105,9 @@ void QWaylandXdgSurface::Toplevel::applyConfigure() if (!surfaceSize.isEmpty()) m_xdgSurface->m_window->resizeFromApplyConfigure(surfaceSize.grownBy(m_xdgSurface->m_window->windowContentMargins())); - qCDebug(lcQpaWayland) << "Applied pending xdg_toplevel configure event:" << m_applied.size << m_applied.states; + qCDebug(lcQpaWayland) << "Applied pending xdg_toplevel configure event:" << m_applied.size + << "and" << m_applied.states + << ", suspended " << m_applied.suspended; } bool QWaylandXdgSurface::Toplevel::wantsDecorations() @@ -164,7 +166,8 @@ void QWaylandXdgSurface::Toplevel::xdg_toplevel_configure(int32_t width, int32_t } } qCDebug(lcQpaWayland) << "Received xdg_toplevel.configure with" << m_pending.size - << "and" << m_pending.states; + << "and" << m_pending.states + << ", suspended " << m_pending.suspended; } void QWaylandXdgSurface::Toplevel::xdg_toplevel_close()