[gnome-settings-daemon] power: Correct comment before sending fake keys



commit 35203e4a771888b6bbdf9bef464fab93d65a7a36
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 31 20:25:38 2013 +0100

    power: Correct comment before sending fake keys

 plugins/power/gpm-common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/gpm-common.c b/plugins/power/gpm-common.c
index 9688534..f76d576 100644
--- a/plugins/power/gpm-common.c
+++ b/plugins/power/gpm-common.c
@@ -1672,7 +1672,7 @@ reset_idletime (void)
         }
 
         gdk_error_trap_push ();
-        /* send a left shift key; first press, then release */
+        /* send a left or right alt key; first press, then release */
         XTestFakeKeyEvent (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), first_keycode ? keycode1 : keycode2, True, 0);
         XTestFakeKeyEvent (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), first_keycode ? keycode1 : keycode2, False, 0);
         first_keycode = !first_keycode;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]