From 4c148ee6ff6f344e91ff22459d3e4e24de02ae28 Mon Sep 17 00:00:00 2001 From: Hongfei Shang Date: Mon, 22 Aug 2022 11:01:00 +0800 Subject: [PATCH] led: keyboard led init with default value To make libinput update led status. Signed-off-by: Hongfei Shang --- src/input.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/input.cpp b/src/input.cpp index 2dae60a5d..d084d772b 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -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(); qRegisterMetaType();