summaryrefslogtreecommitdiff
path: root/plugins/power/gpm-common.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-01-31 20:25:38 +0100
committerBastien Nocera <hadess@hadess.net>2013-01-31 20:25:38 +0100
commit35203e4a771888b6bbdf9bef464fab93d65a7a36 (patch)
treeaa892f6bc4c5198a1c32a798722cac6d160745f5 /plugins/power/gpm-common.c
parent31c2ed8c9bd9b8256ffe6818c7581d5dec9b27db (diff)
downloadgnome-settings-daemon-35203e4a771888b6bbdf9bef464fab93d65a7a36.tar.gz
power: Correct comment before sending fake keys
Diffstat (limited to 'plugins/power/gpm-common.c')
-rw-r--r--plugins/power/gpm-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/power/gpm-common.c b/plugins/power/gpm-common.c
index 9688534d..f76d576f 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;