Check-in [cb125f8182]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:XKeycodeToKeysym -> XkbKeycodeToKeysym
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:cb125f8182c866a76dcdc42c54f5b81c570dfd5d
User & Date: stu 2012-09-26 22:12:00
Context
2012-10-10
22:45
Add include dir for Xmu on hpux. check-in: ca59fe571c user: stu tags: trunk
2012-09-26
22:12
XKeycodeToKeysym -> XkbKeycodeToKeysym check-in: cb125f8182 user: stu tags: trunk
22:00
Remove extra -W's check-in: f13975c6e6 user: stu tags: trunk
Changes

Changes to unix/TkXext.record.c.

4
5
6
7
8
9
10

11
12
13
14
15
16
17
..
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#include <signal.h>
#include <sys/time.h>
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xproto.h>
#include <X11/extensions/record.h>
#include <X11/keysym.h>


struct timeval startTime;
struct timeval thisTime;

volatile sig_atomic_t doExit = 0;

void SetTime (void) {
................................................................................
   break;

   case KeyPress:
    prefix = "TkXext.send.key.press";
   case KeyRelease:
   {
    KeyCode kc = xev->u.u.detail;
    KeySym ks = XKeycodeToKeysym (dis, kc, 0);
    OutputKey (stdout, prefix, ks);
   }
   break;

   case EnterNotify:
   case LeaveNotify:
   break;







>







 







|







4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
..
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#include <signal.h>
#include <sys/time.h>
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xproto.h>
#include <X11/extensions/record.h>
#include <X11/keysym.h>
#include <X11/XKBlib.h>

struct timeval startTime;
struct timeval thisTime;

volatile sig_atomic_t doExit = 0;

void SetTime (void) {
................................................................................
   break;

   case KeyPress:
    prefix = "TkXext.send.key.press";
   case KeyRelease:
   {
    KeyCode kc = xev->u.u.detail;
    KeySym ks = XkbKeycodeToKeysym (dis, kc, 0, 0);
    OutputKey (stdout, prefix, ks);
   }
   break;

   case EnterNotify:
   case LeaveNotify:
   break;