ibusManager: Don't use GNOME_SETUP_DISPLAY
GNOME_SETUP_DISPLAY is only necessary when using xwayland on demand, which is only supported on systemd, in which case you should consider using the user service provided by ibus. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2345>
This commit is contained in:
parent
47a499bdc4
commit
4097f9f836
@ -93,12 +93,8 @@ var IBusManager = class {
|
||||
_spawn(extraArgs = []) {
|
||||
try {
|
||||
let cmdLine = ['ibus-daemon', '--panel', 'disable', ...extraArgs];
|
||||
// Forward the right X11 Display for ibus-x11
|
||||
let display = GLib.getenv('GNOME_SETUP_DISPLAY');
|
||||
let env = [];
|
||||
|
||||
if (display)
|
||||
env.push('DISPLAY=%s'.format(display));
|
||||
GLib.spawn_async(
|
||||
null, cmdLine, env,
|
||||
GLib.SpawnFlags.SEARCH_PATH,
|
||||
|
Loading…
Reference in New Issue
Block a user