fix(linux): fix KWin script startup crash and embed type-2 ELF runtime in AppImage
This commit is contained in:
@@ -126,9 +126,8 @@ workspace.windowActivated.connect(reportFocus);
|
||||
|
||||
// Report whatever is already focused, so the daemon starts with a correct state
|
||||
// instead of waiting for the user to alt-tab.
|
||||
for (var i = 0; i < workspace.windowList().length; i++) {
|
||||
var w = workspace.windowList()[i];
|
||||
if (w.active) { reportFocus(w); break; }
|
||||
if (workspace.activeWindow) {
|
||||
reportFocus(workspace.activeWindow);
|
||||
}
|
||||
"#;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user