[xorg-commit-diffs] xc/programs/Xserver/hw/xwin winkeyhook.c, 1.1.2.2, 1.1.2.3 winkeynames.h, 1.1.2.2, 1.1.2.3

Harold L Hunt II xorg-commit at pdx.freedesktop.org
Sat Apr 3 19:30:12 PST 2004


Committed by: harold

Update of /cvs/xorg/xc/programs/Xserver/hw/xwin
In directory pdx:/tmp/cvs-serv31267

Modified Files:
      Tag: CYGWIN
	winkeyhook.c winkeynames.h 
Log Message:
Minor changes

Index: winkeyhook.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/Attic/winkeyhook.c,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- a/winkeyhook.c	3 Apr 2004 22:21:56 -0000	1.1.2.2
+++ b/winkeyhook.c	4 Apr 2004 03:30:10 -0000	1.1.2.3
@@ -69,12 +69,16 @@
   /* Pass keystrokes on to our main message loop */
   if (iCode == HC_ACTION)
     {
+#if 0
+      ErrorF ("vkCode: %08x\tscanCode: %08x\n", p->vkCode, p->scanCode);
+#endif
+
       switch (wParam)
 	{
 	case WM_KEYDOWN:  case WM_SYSKEYDOWN:
 	case WM_KEYUP:    case WM_SYSKEYUP: 
 	  fPassKeystroke = 
-	    (p->vkCode == VK_TAB) && ((p->flags & LLKHF_ALTDOWN) != 0)
+	    ((p->vkCode == VK_TAB) && ((p->flags & LLKHF_ALTDOWN) != 0))
 	    || (p->vkCode == VK_LWIN) || (p->vkCode == VK_RWIN);
 	  break;
 	}

Index: winkeynames.h
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/Attic/winkeynames.h,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- a/winkeynames.h	3 Apr 2004 22:21:56 -0000	1.1.2.2
+++ b/winkeynames.h	4 Apr 2004 03:30:10 -0000	1.1.2.3
@@ -1,3 +1,5 @@
+#ifndef _WINKEYNAMES_H
+#define _WINKEYNAMES_H
 /* $XFree86: xc/programs/Xserver/hw/xfree86/common/atKeynames.h,v 3.18 2001/09/29 20:40:30 herrb Exp $ */
 /*
  * Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
@@ -23,9 +25,6 @@
  */
 /* $XConsortium: atKeynames.h /main/11 1996/03/09 11:17:41 kaleb $ */
 
-#ifndef _ATKEYNAMES_H
-#define _ATKEYNAMES_H
-
 #define XK_TECHNICAL
 #define	XK_KATAKANA
 #include "keysym.h"
@@ -202,4 +201,4 @@
 #define KEY_NOTUSED	  0
 #define KEY_UNKNOWN	255
 
-#endif /* _ATKEYNAMES_H */
+#endif /* _WINKEYNAMES_H */




More information about the xorg-commit-diffs mailing list