[gnome-shell] ibusManager: Don't use GNOME_SETUP_DISPLAY



commit 4097f9f8360839c553f7056279f3640a21733c55
Author: oreo639 <oreo6391 gmail com>
Date:   Fri Jul 1 12:16:56 2022 -0700

    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>

 js/misc/ibusManager.js | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/js/misc/ibusManager.js b/js/misc/ibusManager.js
index 55c0d308b4..c1e73d0083 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]