Client: Don't spam stderr about ignored window states
Since it is not supported by the protocol, neither we, nor the application developer can do anything about it. Change it from warning to debug so it only shows up when enabled. Task-number: QTBUG-76061 Change-Id: I81420e0c72a9e9652f6592d65c70c7df1e5725b9 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
This commit is contained in:
parent
c357505f3a
commit
1830187471
@ -342,7 +342,7 @@ void QWaylandXdgSurfaceV6::requestWindowStates(Qt::WindowStates states)
|
||||
if (m_toplevel)
|
||||
m_toplevel->requestWindowStates(states);
|
||||
else
|
||||
qCWarning(lcQpaWayland) << "Non-toplevel surfaces can't request window states";
|
||||
qCDebug(lcQpaWayland) << "Ignoring window states requested by non-toplevel.";
|
||||
}
|
||||
|
||||
void QWaylandXdgSurfaceV6::setToplevel()
|
||||
|
@ -377,7 +377,7 @@ void QWaylandXdgSurface::requestWindowStates(Qt::WindowStates states)
|
||||
if (m_toplevel)
|
||||
m_toplevel->requestWindowStates(states);
|
||||
else
|
||||
qCWarning(lcQpaWayland) << "Non-toplevel surfaces can't request window states";
|
||||
qCDebug(lcQpaWayland) << "Ignoring window states requested by non-toplevel zxdg_surface_v6.";
|
||||
}
|
||||
|
||||
void QWaylandXdgSurface::setToplevel()
|
||||
|
Loading…
x
Reference in New Issue
Block a user