aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/wincreatewnd.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-07-29 08:32:27 +0000
committermarha <marha@users.sourceforge.net>2009-07-29 08:32:27 +0000
commitfdd1017b307eb3b561f0af06344285d3a05d60e6 (patch)
tree566c09bcc27bada14137806f3eb71340791c637f /xorg-server/hw/xwin/wincreatewnd.c
parent1b6e87b04d153f3883e1e812f166b72ac3f14fc5 (diff)
downloadvcxsrv-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.c15
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 */