diff options
Diffstat (limited to 'windows/utils/platform_get_x_display.c')
-rw-r--r-- | windows/utils/platform_get_x_display.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/windows/utils/platform_get_x_display.c b/windows/utils/platform_get_x_display.c new file mode 100644 index 00000000..e2a9ddc6 --- /dev/null +++ b/windows/utils/platform_get_x_display.c @@ -0,0 +1,13 @@ +/* + * Implementation of platform_get_x_display for Windows, common to all + * tools. + */ + +#include "putty.h" +#include "ssh.h" + +char *platform_get_x_display(void) +{ + /* We may as well check for DISPLAY in case it's useful. */ + return dupstr(getenv("DISPLAY")); +} |