From 4097f9f8360839c553f7056279f3640a21733c55 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Fri, 1 Jul 2022 12:16:56 -0700 Subject: [PATCH] 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: --- js/misc/ibusManager.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/misc/ibusManager.js b/js/misc/ibusManager.js index 55c0d308b..c1e73d008 100644 --- a/js/misc/ibusManager.js +++ b/js/misc/ibusManager.js @@ -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,