mirror of https://gitee.com/openkylin/kwin.git
led: keyboard led init with default value
To make libinput update led status. Signed-off-by: Hongfei Shang <shanghongfei@kylinos.cn>
This commit is contained in:
parent
7efaeb8d13
commit
4c148ee6ff
|
@ -2633,6 +2633,7 @@ InputRedirection::InputRedirection(QObject *parent)
|
|||
, m_tablet(new TabletInputRedirection(this))
|
||||
, m_touch(new TouchInputRedirection(this))
|
||||
, m_shortcuts(new GlobalShortcutsManager(this))
|
||||
, m_leds(LED::NumLock)
|
||||
{
|
||||
qRegisterMetaType<KWin::InputRedirection::KeyboardKeyState>();
|
||||
qRegisterMetaType<KWin::InputRedirection::PointerButtonState>();
|
||||
|
|
Loading…
Reference in New Issue