diff --git a/wayland_server.cpp b/wayland_server.cpp index 25c824452a..6015766a09 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -245,6 +245,7 @@ void WaylandServer::announceClientToWindowManagement(AbstractClient *c) connect(c, &AbstractClient::minimizedChanged, w, [w, c] { w->setMinimized(c->isMinimized()); }); connect(c, static_cast(&AbstractClient::clientMaximizedStateChanged), w, [w] (KWin::AbstractClient *c, MaximizeMode mode) { + Q_UNUSED(c); w->setMaximized(mode == KWin::MaximizeFull); } );