From fae6abb64bd40e6f863c9446b12cb145a452eab7 Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Tue, 6 Mar 2018 16:24:45 +0100 Subject: [PATCH] Show warning when trying to minimize on wl-shell Change-Id: Ice040dad70d0bcaf8bd101da5956ae75e211fe91 Reviewed-by: Pier Luigi Fiorini --- src/plugins/platforms/wayland/qwaylandwlshellsurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/wayland/qwaylandwlshellsurface.cpp b/src/plugins/platforms/wayland/qwaylandwlshellsurface.cpp index f1b0bd2c349..098eddcbccf 100644 --- a/src/plugins/platforms/wayland/qwaylandwlshellsurface.cpp +++ b/src/plugins/platforms/wayland/qwaylandwlshellsurface.cpp @@ -147,7 +147,7 @@ void QWaylandWlShellSurface::setNormal() void QWaylandWlShellSurface::setMinimized() { - // TODO: There's no wl_shell_surface API for this + qCWarning(lcQpaWayland) << "Minimization is not supported on wl-shell. Consider using xdg-shell instead."; } void QWaylandWlShellSurface::setTopLevel()