diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2018-08-09 11:59:01 +0200 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2018-08-09 10:51:33 +0000 |
commit | a6d20e2173c30f834ce07a998b0756fd8742c02e (patch) | |
tree | fae0d7ee4ca2bf37bc075843c9ad98716722740f /src/plugins/shellintegration/xdg-shell-v6/qwaylandxdgshellv6.cpp | |
parent | 8ac99aaedf98ad1cc8f57de3acd8048cc9862fb6 (diff) |
Client: Log configure states to logging category
States are not visible in WAYLAND_DEBUG output since array values are not
printed there. Logging the states to the Wayland QPA logging category gives us
a convenient way of seeing what states are configured.
Change-Id: If71c6df3180eba3f8efb08135a67b417940c3ffe
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/plugins/shellintegration/xdg-shell-v6/qwaylandxdgshellv6.cpp')
-rw-r--r-- | src/plugins/shellintegration/xdg-shell-v6/qwaylandxdgshellv6.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/shellintegration/xdg-shell-v6/qwaylandxdgshellv6.cpp b/src/plugins/shellintegration/xdg-shell-v6/qwaylandxdgshellv6.cpp index 986deceb1..f151d1eb6 100644 --- a/src/plugins/shellintegration/xdg-shell-v6/qwaylandxdgshellv6.cpp +++ b/src/plugins/shellintegration/xdg-shell-v6/qwaylandxdgshellv6.cpp @@ -115,6 +115,8 @@ void QWaylandXdgSurfaceV6::Toplevel::zxdg_toplevel_v6_configure(int32_t width, i break; } } + qCDebug(lcQpaWayland) << "Received zxdg_toplevel_v6.configure with" << m_pending.size + << "and" << m_pending.states; } void QWaylandXdgSurfaceV6::Toplevel::zxdg_toplevel_v6_close() |