aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/wintrayicon.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/wintrayicon.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/wintrayicon.c')
-rw-r--r--xorg-server/hw/xwin/wintrayicon.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/wintrayicon.c b/xorg-server/hw/xwin/wintrayicon.c
index 054a8e956..9cd1e5c3c 100644
--- a/xorg-server/hw/xwin/wintrayicon.c
+++ b/xorg-server/hw/xwin/wintrayicon.c
@@ -45,6 +45,7 @@ winInitNotifyIcon (winPrivScreenPtr pScreenPriv)
{
winScreenInfo *pScreenInfo = pScreenPriv->pScreenInfo;
NOTIFYICONDATA nid = {0};
+ char HostName[256];
nid.cbSize = sizeof (NOTIFYICONDATA);
nid.hWnd = pScreenPriv->hwndScreen;
@@ -55,11 +56,14 @@ winInitNotifyIcon (winPrivScreenPtr pScreenPriv)
/* Save handle to the icon so it can be freed later */
pScreenPriv->hiconNotifyIcon = nid.hIcon;
+
+ gethostname(HostName,256);
/* Set display and screen-specific tooltip text */
snprintf (nid.szTip,
sizeof (nid.szTip),
- PROJECT_NAME " Server - %s:%d",
+ PROJECT_NAME " Server - %s:%s.%d",
+ HostName,
display,
(int) pScreenInfo->dwScreen);