GNOME Bugzilla – Bug 729375
power: Fix wakeup with some keymaps
Last modified: 2014-05-05 13:50:53 UTC
.
Created attachment 275630 [details] [review] power: Fix wakeup with some keymaps When trying to wake up the screen, try to use XF86WakeUp in preference to the left Alt. Don't use the right Alt key as it might be set as the Compose key which would eat the event without resetting the idle.
Review of attachment 275630 [details] [review]: This keysym seems to work correctly. ::: plugins/power/gpm-common.c @@ +750,1 @@ if (inited == FALSE) { Not introduced in this patch, but this inited variable is never set to TRUE. I'd just use a 0 keycode value for the check and ditch this.
Created attachment 275888 [details] [review] power: Fix wakeup with some keymaps When trying to wake up the screen, try to use XF86WakeUp in preference to the left Alt. Don't use the right Alt key as it might be set as the Compose key which would eat the event without resetting the idle. Also make sure to initialise the keycode only once.
Pushed from gnome-3-8 all the way to master. Attachment 275888 [details] pushed as 199c995 - power: Fix wakeup with some keymaps