You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While we've been checking if XDG_SESSION_TYPE environment variable is wayland or not to check whether the ibus-mozc is running under Wayland session or not for long time since 2d39bb4 for #431, it seems that XDG_SESSION_TYPE is just a convention invented by systemd forks, and may not be set.
Despite its name, 'XDG_SESSION_TYPE' is not a part of XDG. Let's check
`WAYLAND_DISPLAY` instead to determine whether ibus-mozc is running
under Wayland session or not.
PiperOrigin-RevId: 560356898
Description
While we've been checking if
XDG_SESSION_TYPE
environment variable iswayland
or not to check whether the ibus-mozc is running under Wayland session or not for long time since 2d39bb4 for #431, it seems thatXDG_SESSION_TYPE
is just a convention invented by systemd forks, and may not be set.Let's use
WAYLAND_DISPLAY
instead for simplicity and better compatibility.Version or commit-id
89c7008
Environment
The text was updated successfully, but these errors were encountered: