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
This commit is contained in:
Martin Flöser 2017-07-25 07:15:37 +02:00
parent 9bdc7b7d4b
commit 4a0787c058

View file

@ -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);
}