From 4a0787c0582bb555aa501ea476d603aee034ec0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Fl=C3=B6ser?= Date: Tue, 25 Jul 2017 07:15:37 +0200 Subject: [PATCH] Process all clients when updating fullscreen for active client Summary: Currently only done for X11 clients, should also be done for Wayland client.s Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D6892 --- activation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activation.cpp b/activation.cpp index 03980d9a28..554dfb082b 100644 --- a/activation.cpp +++ b/activation.cpp @@ -254,7 +254,7 @@ void Workspace::setActiveClient(AbstractClient* c) // activating a client can cause a non active fullscreen window to loose the ActiveLayer status on > 1 screens if (screens()->count() > 1) { - for (ClientList::Iterator it = clients.begin(); it != clients.end(); ++it) { + for (auto it = m_allClients.begin(); it != m_allClients.end(); ++it) { if (*it != active_client && (*it)->layer() == ActiveLayer && (*it)->screen() == active_client->screen()) { updateClientLayer(*it); }