diff options
author | Michael Jennings <mej@kainx.org> | 1999-12-03 02:31:33 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 1999-12-03 02:31:33 +0000 |
commit | fa9da4f7eb9cc5e19456fbdbef11910e37e6e3ba (patch) | |
tree | 88922948bc83c15456694cef464e4e0bc0bbb92f /src/term.h | |
parent | c00ecb143ce67331975cb3158907132eaef7f617 (diff) | |
download | eterm-fa9da4f7eb9cc5e19456fbdbef11910e37e6e3ba.tar.gz |
Thu Dec 2 22:18:51 PST 1999 Michael Jennings <mej@eterm.org>
A good number of changes here. First off, since nobody reported any
bugs with the new font stuff, I switched the multibyte fonts over to
use it as well. They do use the same font index, however, in order to
keep the sizes matched up.
I also fixed up the modifier stuff so that Meta and Alt are matched
by KeySym rather than assuming Mod1. I also took care of the action
dispatcher so it would keep up with these changes.
To go along with this, I added 3 new options and config file
attributes which allow you to set the modifier that should represent
Meta, Alt, and NumLock. This overrides the automatically-detected
X server settings.
I also applied some fixes to the XIM code from Sung-Hyun Nam
<namsh@lgic.co.kr>.
SVN revision: 1482
Diffstat (limited to 'src/term.h')
-rw-r--r-- | src/term.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -162,10 +162,13 @@ extern unsigned long SavedModes; extern char *def_colorName[]; extern char *rs_color[NRS_COLORS]; extern Pixel PixColors[NRS_COLORS + NSHADOWCOLORS]; +extern unsigned int MetaMask, AltMask, NumLockMask; +extern unsigned int modmasks[]; /************ Function Prototypes ************/ _XFUNCPROTOBEGIN +extern void get_modifiers(void); extern void lookup_key(XEvent *); #ifdef PRINTPIPE extern FILE *popen_printer(void); |