D26899: Send a Qt::Key_PowerDown when long pressing the power button

Aleix Pol Gonzalez noreply at phabricator.kde.org
Fri Jan 24 23:03:07 GMT 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200124/d6876cac/attachment.html>


More information about the kwin mailing list