D26899: Send a Qt::Key_PowerDown when long pressing the power button
Aleix Pol Gonzalez <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
apol added a comment. In D26899#600384 <https://phabricator.kde.org/D26899#600384>, @davidedmundson wrote: > Concept ++ > > Kwin has a concept of an InputEventFilter which will allow for doing this sort of things without putting specifics in the main core > See something like VirtualTerminalFilter This code is in the GlobalShortcutFilter already. Do you want to have a PowerButtonGlobalShortcutFilter and NonPowerButtonGlobalShortcutFilter? Aleix REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D26899 To: apol, #plasma Cc: davidedmundson, kwin, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart