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
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
*/
|
*/
|
||||||
function synchronizeSwitcher(client) {
|
|
||||||
client.skipSwitcher = client.skipTaskbar;
|
|
||||||
}
|
|
||||||
|
|
||||||
function setupConnection(client) {
|
function setupConnection(window) {
|
||||||
synchronizeSwitcher(client);
|
window.skipSwitcher = window.skipTaskbar;
|
||||||
client.skipTaskbarChanged.connect(client, synchronizeSwitcher);
|
window.skipTaskbarChanged.connect(() => {
|
||||||
|
window.skipSwitcher = window.skipTaskbar;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
workspace.windowAdded.connect(setupConnection);
|
workspace.windowAdded.connect(setupConnection);
|
||||||
|
|
Loading…
Reference in a new issue