GNOME Bugzilla – Bug 746359
client: let DISPLAY flow through
Last modified: 2015-03-18 11:51:53 UTC
gnome-terminal currently unsets DISPLAY before forking its child, and then recreates it from gdk_display_get_name when constructing the child environment. This is fine for the X11 backend, but poses a problem for wayland. wayland clients don't need DISPLAY set, but X clients using Xwayland do. The code to reconstruct DISPLAY when constructing the child environment isn't run for the wayland backend (and wouldn't work on the wayland backend anyway). This commit keeps DISPLAY set, so X clients started from gnome-terminal work when using the wayland backend.
Created attachment 299622 [details] [review] client: let DISPLAY flow through
Comment on attachment 299622 [details] [review] client: let DISPLAY flow through Thanks! Up to you if you want to wait till after 3.16.0, or ask r-t for approval to commit immediately.
got rt approval. Attachment 299622 [details] pushed as ad4ed0a - client: let DISPLAY flow through