summaryrefslogtreecommitdiff
path: root/hw/xwin/winwindow.h
diff options
context:
space:
mode:
authorColin Harrison <colin.harrison@virgin.net>2008-11-02 20:46:38 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2009-01-19 14:47:38 +0000
commit8d82d806ee38d45ec7cdbf8b1f671ec1e4437567 (patch)
tree47f91bb8df0e9392689791c9212a73baf7c4e41a /hw/xwin/winwindow.h
parent656f92e247f2f257105daf1e0e6998e1b3d10eba (diff)
Xming: Correct the way display and screen number is reported in window titles and tooltips
Correct the tooltip text for the toolbar X icon to be strictly correct, 'display-number:screen' should be ':display-number.screen'. Also for the default window title. Adjust the style of the Windows title in XDMCP mode from 'Xming - hostname' to 'hostname:display-number.screen'. Copyright (C) Colin Harrison 2005-2008 http://www.straightrunning.com/XmingNotes/ http://sourceforge.net/projects/xming/ Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'hw/xwin/winwindow.h')
-rw-r--r--hw/xwin/winwindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xwin/winwindow.h b/hw/xwin/winwindow.h
index 9c49d6482..38db55f5c 100644
--- a/hw/xwin/winwindow.h
+++ b/hw/xwin/winwindow.h
@@ -42,8 +42,8 @@
# define PROJECT_NAME "Cygwin/X"
#endif
#define WINDOW_CLASS "cygwin/x"
-#define WINDOW_TITLE PROJECT_NAME " - %s:%d"
-#define WINDOW_TITLE_XDMCP PROJECT_NAME " - %s"
+#define WINDOW_TITLE PROJECT_NAME ":%s.%d"
+#define WINDOW_TITLE_XDMCP "%s:%s.%d"
#define WIN_SCR_PROP "cyg_screen_prop rl"
#define WINDOW_CLASS_X "cygwin/x X rl"
#define WINDOW_TITLE_X PROJECT_NAME " X"