[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:

| RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfunc.C,v
| retrieving revision 1.171
| diff -u -p -r1.171 lyxfunc.C
| --- lyxfunc.C   2000/12/18 14:21:57     1.171
| +++ lyxfunc.C   2000/12/18 22:04:19
| @@ -273,10 +273,16 @@ int LyXFunc::processKeySym(KeySym keysym
|         } else if (action == LFUN_SELFINSERT) {
|                 // We must set the argument to the char looked up by
|                 // XKeysymToString
| -               char const * tmp = XKeysymToString(keysym);
| -               // if (!argument.empty()) {
| -               argument = tmp ? tmp : "";
| -               // }
| +               XKeyEvent xke;
| +               xke.type = KeyEvent;

Change this to KeyPress instead of KeyEvent.
(still untested)

        Lgb

Reply via email to