mirror of
https://gitlab.com/arnekeller/kwin-toggle-window.git
synced 2024-11-21 23:44:57 +00:00
Fix bug where window isn't focused
This commit is contained in:
parent
1e64cf4a4d
commit
ef832c797f
@ -18,7 +18,7 @@ function toggleWindow() {
|
|||||||
var prevMini = allClients[i].minimized;
|
var prevMini = allClients[i].minimized;
|
||||||
allClients[i].minimized = !prevMini;
|
allClients[i].minimized = !prevMini;
|
||||||
if (prevMini) {
|
if (prevMini) {
|
||||||
workspace.activeClient = allClients[i];
|
workspace.activeWindow = allClients[i];
|
||||||
}
|
}
|
||||||
break; // only toggle one window
|
break; // only toggle one window
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Id": "togglewindow",
|
"Id": "togglewindow",
|
||||||
"Version": "0.1.1",
|
"Version": "0.1.2",
|
||||||
"License": "GPLv3",
|
"License": "GPLv3",
|
||||||
"Website": "https://www.opencode.net/arnek01/kwin-toggle-window/"
|
"Website": "https://www.opencode.net/arnek01/kwin-toggle-window/"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user