gnome-shell/1080.patch

27 lines
850 B
Diff

From 099b6694b50b9748de6309c99b65bd09e0b6ba6d Mon Sep 17 00:00:00 2001
From: Alynx Zhou <alynx.zhou@gmail.com>
Date: Mon, 9 Mar 2020 10:09:47 +0800
Subject: [PATCH] ibusManager: fix ibus launch error because of wrong method
name
---
js/misc/ibusManager.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/misc/ibusManager.js b/js/misc/ibusManager.js
index aa1f510602..e27e9f06dd 100644
--- a/js/misc/ibusManager.js
+++ b/js/misc/ibusManager.js
@@ -66,7 +66,7 @@ var IBusManager = class {
let display = GLib.getenv('GNOME_SETUP_DISPLAY');
if (display)
launcher.setenv('DISPLAY', display, true);
- launcher.launch(cmdLine);
+ launcher.spawnv(cmdLine);
} catch (e) {
log(`Failed to launch ibus-daemon: ${e.message}`);
}
--
2.24.1