Fix initialization of KeyEvent::isAccepted()

By default, events are accepted, we want the opposite.


(cherry picked from commit 4711fe1961)

Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
wilder/Plasma/6.2
Vlad Zahorodnii 1 year ago
parent 2363f92879
commit 5bf03f25a4
  1. 1
      src/keyboard_input.cpp

@ -281,6 +281,7 @@ void KeyboardInputRedirection::processKey(uint32_t key, InputRedirection::Keyboa
autoRepeat,
time,
device);
event.setAccepted(false);
event.setModifiersRelevantForGlobalShortcuts(globalShortcutsModifiers);
m_input->processSpies(std::bind(&InputEventSpy::keyEvent, std::placeholders::_1, &event));

Loading…
Cancel
Save