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>
This commit is contained in:
parent
83abc8bf60
commit
ee24f1a145
@ -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()
|
||||
|
@ -115,6 +115,8 @@ void QWaylandXdgSurface::Toplevel::xdg_toplevel_configure(int32_t width, int32_t
|
||||
break;
|
||||
}
|
||||
}
|
||||
qCDebug(lcQpaWayland) << "Received xdg_toplevel.configure with" << m_pending.size
|
||||
<< "and" << m_pending.states;
|
||||
}
|
||||
|
||||
void QWaylandXdgSurface::Toplevel::xdg_toplevel_close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user