Path: utzoo!attcan!uunet!husc6!bloom-beacon!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: Mod state in XKeyEvent Message-ID: <8809281210.AA14913@LYRE.MIT.EDU> Date: 28 Sep 88 12:10:03 GMT References: <145@lupine.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: DEC/MIT Project Athena Lines: 24 Date: 27 Sep 88 19:19:56 GMT From: lupine!klein@uunet.uu.net (Doug Klein ) The convention for META is currently Mod1, only by weight of existing client documentation. (is this enforced anywhere?), no. The Protocol is very explicit about there being only three modifier keys with standard names. Clients who refer to "Meta" in their documentation when they really mean "Mod1" are in error. The appropriate definition of the Meta modifier is "that modifier whose corresponding keysym mapping contains either Meta_L or Meta_R." That is, you need to perform a search of both the modifier mapping table and the keyboard mapping table to determine where the user has placed the Meta key. The R3 Xt supports this automagically through the translation manager. (need I have said that? :-)