According to the X(7) manual page, the DISPLAY variable, used to store the X server's display name, is the only mandatory environment variable. Therefore, this is the one we should be checking for in Dragonfly instead of XDG_SESSION_TYPE, which we've had trouble with in the past.
According to the X(7) manual page, the DISPLAY variable, used to store the X server's display name, is the only mandatory environment variable. Therefore, this is the one we should be checking for in Dragonfly instead of XDG_SESSION_TYPE, which we've had trouble with in the past.