mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Allow dead caron to be recognized in our key bindings.
This allows to workaround the problem in #8198 - on some systems we get dead caron as a single character instead of whole combined character. I suppose this has rather something to do with X settings than LyX per se.
This commit is contained in:
parent
92e3cc456f
commit
35e4c1c9a6
@ -341,6 +341,7 @@ static int string_to_qkey(std::string const & str)
|
|||||||
if (str == "yacute") return Qt::Key_Yacute;
|
if (str == "yacute") return Qt::Key_Yacute;
|
||||||
if (str == "thorn") return Qt::Key_THORN;
|
if (str == "thorn") return Qt::Key_THORN;
|
||||||
if (str == "ydiaeresis") return Qt::Key_ydiaeresis;
|
if (str == "ydiaeresis") return Qt::Key_ydiaeresis;
|
||||||
|
if (str == "Dead_Caron") return Qt::Key_Dead_Caron;
|
||||||
|
|
||||||
// FIXME, correct for all these ?
|
// FIXME, correct for all these ?
|
||||||
if (str == "Super_L") return Qt::Key_Super_L;
|
if (str == "Super_L") return Qt::Key_Super_L;
|
||||||
@ -559,6 +560,7 @@ static std::string const qkey_to_string(int lkey)
|
|||||||
case Qt::Key_ssharp: return "ssharp";
|
case Qt::Key_ssharp: return "ssharp";
|
||||||
case Qt::Key_ydiaeresis: return "ydiaeresis";
|
case Qt::Key_ydiaeresis: return "ydiaeresis";
|
||||||
case Qt::Key_Bar: return "bar";
|
case Qt::Key_Bar: return "bar";
|
||||||
|
case Qt::Key_Dead_Caron: return "Dead_Caron";
|
||||||
|
|
||||||
// FIXME: these ones I don't know the names of ... help !
|
// FIXME: these ones I don't know the names of ... help !
|
||||||
// what's here is basically guesses ...
|
// what's here is basically guesses ...
|
||||||
|
Loading…
Reference in New Issue
Block a user