On Tue, Jun 30, 2009 at 5:12 AM, Jean-Marc Lasgouttes<lasgout...@lyx.org> wrote:
> What I would like (but I have not understood yet where to do that) is to
> use reject() only when we have an unknown keysym. We should not reject
> events because M-C-j is not bound currently, but because a given
> multimedia key is not handled by LyX (i.e. for example because
> qkey_to_string returns an empty string).
>
> Do you see what I mean? Could you have a go at it?

Sure, how's this?
  http://www.lyx.org/trac/attachment/ticket/6043/multimediakeys3.diff
I define
  known = !(qkey_to_string(key_) == "");
Then when LyX throws "Unknown function" and the qkey is unknown, it ignore()s.

-Ben

Reply via email to