Commit 69d78fe8 authored by Martin Flöser's avatar Martin Flöser

Fix unused variable warning

parent 39c35f8f
......@@ -245,6 +245,7 @@ void WaylandServer::announceClientToWindowManagement(AbstractClient *c)
connect(c, &AbstractClient::minimizedChanged, w, [w, c] { w->setMinimized(c->isMinimized()); });
connect(c, static_cast<void (AbstractClient::*)(AbstractClient*,MaximizeMode)>(&AbstractClient::clientMaximizedStateChanged), w,
[w] (KWin::AbstractClient *c, MaximizeMode mode) {
w->setMaximized(mode == KWin::MaximizeFull);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment