summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-03-06 16:24:45 +0100
committerJohan Helsing <johan.helsing@qt.io>2018-03-07 11:47:04 +0000
commit223ddfbae6cccce87d1a778379494c381d4056f9 (patch)
tree68e78280da1e2b66240bb736d4b0b20c9910d59c
parente3bc3877d667bc6b16e9790c35e2819ce421bd84 (diff)
Show warning when trying to minimize on wl-shell
Change-Id: Ice040dad70d0bcaf8bd101da5956ae75e211fe91 Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-rw-r--r--src/client/qwaylandwlshellsurface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qwaylandwlshellsurface.cpp b/src/client/qwaylandwlshellsurface.cpp
index f1b0bd2c3..098eddcbc 100644
--- a/src/client/qwaylandwlshellsurface.cpp
+++ b/src/client/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()