diff options
author | marha <marha@users.sourceforge.net> | 2009-07-29 08:32:27 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-07-29 08:32:27 +0000 |
commit | fdd1017b307eb3b561f0af06344285d3a05d60e6 (patch) | |
tree | 566c09bcc27bada14137806f3eb71340791c637f /xorg-server/hw/xwin/wincreatewnd.c | |
parent | 1b6e87b04d153f3883e1e812f166b72ac3f14fc5 (diff) | |
download | vcxsrv-fdd1017b307eb3b561f0af06344285d3a05d60e6.tar.gz vcxsrv-fdd1017b307eb3b561f0af06344285d3a05d60e6.tar.bz2 vcxsrv-fdd1017b307eb3b561f0af06344285d3a05d60e6.zip |
Changed project name and window titles
Diffstat (limited to 'xorg-server/hw/xwin/wincreatewnd.c')
-rw-r--r-- | xorg-server/hw/xwin/wincreatewnd.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/xorg-server/hw/xwin/wincreatewnd.c b/xorg-server/hw/xwin/wincreatewnd.c index 85b6cf8a9..78aea0e47 100644 --- a/xorg-server/hw/xwin/wincreatewnd.c +++ b/xorg-server/hw/xwin/wincreatewnd.c @@ -91,13 +91,17 @@ winCreateBoundingWindowFullScreen (ScreenPtr pScreen) g_pszQueryHost, display, (int) pScreenInfo->dwScreen); - else + else + { + char HostName[256]; + gethostname(HostName,256); snprintf (szTitle, sizeof (szTitle), WINDOW_TITLE, + HostName, display, (int) pScreenInfo->dwScreen); - + } /* Create the window */ *phwnd = CreateWindowExA (0, /* Extended styles */ WINDOW_CLASS, /* Class name */ @@ -336,12 +340,17 @@ winCreateBoundingWindowWindowed (ScreenPtr pScreen) g_pszQueryHost, display, (int) pScreenInfo->dwScreen); - else + else + { + char HostName[256]; + gethostname(HostName,256); snprintf (szTitle, sizeof (szTitle), WINDOW_TITLE, + HostName, display, (int) pScreenInfo->dwScreen); + } /* Create the window */ *phwnd = CreateWindowExA (0, /* Extended styles */ |