Update of /cvsroot/netrek/client/netrekxp/src
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv5852/src

Modified Files:
	helpwin.c hintwin.c 
Log Message:
Help window and hint window are now closeable by shift-right click

Index: hintwin.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/hintwin.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- hintwin.c	21 Apr 2006 12:00:07 -0000	1.3
+++ hintwin.c	29 Nov 2006 13:37:47 -0000	1.4
@@ -172,6 +172,9 @@
             curhint = 0;
         showhint (curhint);
         return;
+#ifdef SHIFTED_MOUSE
+    case W_RBUTTON2:
+#endif
     case W_MBUTTON:
         showHints = 0;
         W_UnmapWindow (hintWin);

Index: helpwin.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/helpwin.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- helpwin.c	20 Sep 2006 14:23:48 -0000	1.6
+++ helpwin.c	29 Nov 2006 13:37:47 -0000	1.7
@@ -250,7 +250,11 @@
 	int row, column = 0;
 
 	/* Close window? */
-	if (data->key == W_MBUTTON)
+	if (data->key == W_MBUTTON
+#ifdef SHIFTED_MOUSE
+            || (data->key == W_RBUTTON2)
+#endif
+	)
 	{
 		W_UnmapWindow (helpWin);
 		return;