Newsgroups: comp.windows.x
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!darwin.sura.net!newsserver.jvnc.net!news.edu.tw!cc.ntnu.edu.tw!news!ccds3.ntu.edu.tw!dhliu
From: dhliu@solar.csie.ntu.edu.tw (Der-Hua Liu)
Subject: keycode wrong for XKeyReleasedEvent ??
Message-ID: <1993May16.142132.21107@ccds3.ntu.edu.tw>
Sender: usenet@ccds3.ntu.edu.tw (USENET PROXY ACCOUNT)
Nntp-Posting-Host: jupiter.csie.ntu.edu.tw
Organization: The Dept. of Computer Science and Information Engineering of NTU
X-Newsreader: TIN [version 1.1 PL9]
Date: Sun, 16 May 1993 14:21:32 GMT
Lines: 15

I am writing a X-based dosemu which requires XKeyReleasedEvent. 
I found the keycode of XKeyReleasedEvent is wrong.   If I run the program on
a Linux host(XFree1.2) with  DISPLAY set to the local Linux and to
the Sun host (X11R5), the two keycodes from the two Xservers are different. 
Of course, the keycode of XKeyPressedEvent is O.K.

Can anybody verify this ?     Did I do anything wrong ? 
	
Thanks.

--
Edward Der-Hua Liu
CS department
National Taiwan University, Taiwan
dhliu@solar.csie.ntu.edu.tw
