InputMethod: Update for kwayland-server API change with keysym events
To avoid needless conversion of modifiers in kwayland-server, we needed to break API so that the modifiers are simply passed through.
This commit is contained in:
parent
cc98001d4c
commit
9818f4a4e5
2 changed files with 2 additions and 2 deletions
|
@ -363,7 +363,7 @@ static quint32 keysymToKeycode(quint32 sym)
|
|||
}
|
||||
}
|
||||
|
||||
void InputMethod::keysymReceived(quint32 serial, quint32 time, quint32 sym, bool pressed, Qt::KeyboardModifiers modifiers)
|
||||
void InputMethod::keysymReceived(quint32 serial, quint32 time, quint32 sym, bool pressed, quint32 modifiers)
|
||||
{
|
||||
Q_UNUSED(serial)
|
||||
Q_UNUSED(time)
|
||||
|
|
|
@ -83,7 +83,7 @@ private:
|
|||
void updateInputPanelState();
|
||||
void adoptInputMethodContext();
|
||||
void commitString(qint32 serial, const QString &text);
|
||||
void keysymReceived(quint32 serial, quint32 time, quint32 sym, bool pressed, Qt::KeyboardModifiers modifiers);
|
||||
void keysymReceived(quint32 serial, quint32 time, quint32 sym, bool pressed, quint32 modifiers);
|
||||
void deleteSurroundingText(int32_t index, uint32_t length);
|
||||
void setCursorPosition(qint32 index, qint32 anchor);
|
||||
void setLanguage(uint32_t serial, const QString &language);
|
||||
|
|
Loading…
Reference in a new issue