File indexing completed on 2024-11-10 04:57:11
0001 /* 0002 KWin - the KDE window manager 0003 This file is part of the KDE project. 0004 0005 SPDX-FileCopyrightText: 2012 Martin Gräßlin <mgraesslin@kde.org> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 function synchronizeSwitcher(client) { 0010 client.skipSwitcher = client.skipTaskbar; 0011 } 0012 0013 function setupConnection(client) { 0014 synchronizeSwitcher(client); 0015 client.skipTaskbarChanged.connect(client, synchronizeSwitcher); 0016 } 0017 0018 workspace.windowAdded.connect(setupConnection); 0019 // connect all existing clients 0020 var clients = workspace.windowList(); 0021 for (var i=0; i<clients.length; i++) { 0022 setupConnection(clients[i]); 0023 }