https://bugs.kde.org/show_bug.cgi?id=366625
--- Comment #2 from Matthias Fauconneau <matthias.fauconn...@gmail.com> --- Weston also correctly handle this, by ignoring press on pressed keys (input.cc:1647). I think this is the way to go for KWin too. Is there already a key state list somewhere ? If I understand correctly, the list, and filter, should be added to KeyboardInputRedirection which is the first object to receive events from all devices. On Thu, Aug 11, 2016 at 2:08 PM, Martin Gräßlin via KDE Bugzilla < bugzilla_nore...@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=366625 > > --- Comment #1 from Martin Gräßlin <mgraess...@kde.org> --- > Tricky. KWin processes events one by one, thus it doesn't know that it's > the > same key event. And I'm not aware of anything in libinput which would > allow so. > > Also we cannot just ignore all power button events as we need the events > from > there if it does not also trigger the event on the keyboard. Unfortunately > my > notebooks don't have any power button which would trigger an event... > > I see two other possibilities: > * when going through the xkb translation filter the event out if it didn't > change the state (I assume that's what XWayland does) > * make it possible to disable input devices > > -- > You are receiving this mail because: > You reported the bug. -- You are receiving this mail because: You are watching all bug changes.