plugins/synchronizeskipswitcher: Fix Window::skipTaskbarChanged handler
The Window::skipTaskbarChanged signal no longer has a Window argument. BUG: 465600
This commit is contained in:
parent
276baa7dd5
commit
a418d2f13e
1 changed files with 5 additions and 6 deletions
|
@ -6,13 +6,12 @@
|
|||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
function synchronizeSwitcher(client) {
|
||||
client.skipSwitcher = client.skipTaskbar;
|
||||
}
|
||||
|
||||
function setupConnection(client) {
|
||||
synchronizeSwitcher(client);
|
||||
client.skipTaskbarChanged.connect(client, synchronizeSwitcher);
|
||||
function setupConnection(window) {
|
||||
window.skipSwitcher = window.skipTaskbar;
|
||||
window.skipTaskbarChanged.connect(() => {
|
||||
window.skipSwitcher = window.skipTaskbar;
|
||||
});
|
||||
}
|
||||
|
||||
workspace.windowAdded.connect(setupConnection);
|
||||
|
|
Loading…
Reference in a new issue