Welcome to mirror list, hosted at ThFree Co, Russian Federation.

platform_get_x_display.c « utils « windows - github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e2a9ddc63ffde805447182b3f5c810dd7a6612c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"));
}