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 created this revision.
apol added a reviewer: Plasma.
Herald added a project: KWin.
Herald added a subscriber: kwin.
apol requested review of this revision.

REVISION SUMMARY
  This will be useful to be able to show a menu on long press and just
  lock the screen on normal press, especially useful on phones and
  tablets.

TEST PLAN
  Could not test much because on laptops doesn't work. Would need more
  investigation. discussed further on the plasma mailing list.

REPOSITORY
  R108 KWin

BRANCH
  power

REVISION DETAIL
  https://phabricator.kde.org/D26899

AFFECTED FILES
  input.cpp

To: apol, #plasma
Cc: 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.