diff options
Diffstat (limited to 'hw/xquartz/X11Controller.m')
-rw-r--r-- | hw/xquartz/X11Controller.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/xquartz/X11Controller.m b/hw/xquartz/X11Controller.m index f84dfccd6..b95414e4d 100644 --- a/hw/xquartz/X11Controller.m +++ b/hw/xquartz/X11Controller.m @@ -53,8 +53,6 @@ #include <sys/types.h> #include <sys/wait.h> -BOOL xquartz_resetenv_display = NO; - @implementation X11Controller - (void) awakeFromNib @@ -354,7 +352,7 @@ BOOL xquartz_resetenv_display = NO; newargv[3] = NULL; s = getenv("DISPLAY"); - if (xquartz_resetenv_display || s == NULL || s[0] == 0) { + if (s == NULL || s[0] == 0) { snprintf(buf, sizeof(buf), ":%s", display); setenv("DISPLAY", buf, TRUE); } |