summaryrefslogtreecommitdiff
path: root/hw/xwin/winwindow.h
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-01-06 16:02:47 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-01-06 16:02:47 +0000
commitd6a74f2c4aec9c914ec0837bd0bf0d212019093f (patch)
treed29ad172697fbdde52b7ac890079f1e35b25fa9d /hw/xwin/winwindow.h
parent3165236483de936b4ca22f8b6d2d2b8b1a1a4909 (diff)
Imakefile
InitOutput.c XWin.rc winerror.c wintrayicon.c winvideo.c Set PROJECT_NAME in Imakefile to create alternative window titles for Cygwin/X and Xming
Diffstat (limited to 'hw/xwin/winwindow.h')
-rw-r--r--hw/xwin/winwindow.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/hw/xwin/winwindow.h b/hw/xwin/winwindow.h
index a94c3a754..6cc69aa19 100644
--- a/hw/xwin/winwindow.h
+++ b/hw/xwin/winwindow.h
@@ -39,12 +39,15 @@
#endif
/* Constant strings */
+#ifndef PROJECT_NAME
+# define PROJECT_NAME "Cygwin/X"
+#endif
#define WINDOW_CLASS "cygwin/x"
-#define WINDOW_TITLE "Cygwin/X - %s:%d"
-#define WINDOW_TITLE_XDMCP "Cygwin/X - %s"
+#define WINDOW_TITLE PROJECT_NAME " - %s:%d"
+#define WINDOW_TITLE_XDMCP PROJECT_NAME " - %s"
#define WIN_SCR_PROP "cyg_screen_prop rl"
#define WINDOW_CLASS_X "cygwin/x X rl"
-#define WINDOW_TITLE_X "Cygwin/X X"
+#define WINDOW_TITLE_X PROJECT_NAME " X"
#define WIN_WINDOW_PROP "cyg_window_prop_rl"
#ifdef HAS_DEVWINDOWS
# define WIN_MSG_QUEUE_FNAME "/dev/windows"