From 2a1e6823ef30c867e77082f740bba9cd7c120500 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 25 Aug 2013 19:24:22 -0500 Subject: Add documentation for prior commit --- kdesktop/lock/lockprocess.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kdesktop/lock') diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc index f5613f916..f44363c90 100644 --- a/kdesktop/lock/lockprocess.cc +++ b/kdesktop/lock/lockprocess.cc @@ -2127,6 +2127,10 @@ bool LockProcess::x11Event(XEvent *event) // XF86AudioMute Would be nice to be able to shut your computer up in an emergency while it is locked // XF86AudioRaiseVolume Ditto // XF86AudioLowerVolume Ditto + // XF86XK_PowerOff If someone has access to the power button, they can hard power off the machine anyway + // XF86XK_Sleep Ditto + // XF86XK_Suspend Ditto + // XF86XK_Hibernate Ditto //if ((event->type == KeyPress) || (event->type == KeyRelease)) { if (event->type == KeyPress) { -- cgit v1.2.1