[gnome-settings-daemon/gnome-3-6] media-keys: Repeat screen and keyboard brightness keys
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-6] media-keys: Repeat screen and keyboard brightness keys
- Date: Thu, 20 Dec 2012 14:33:39 +0000 (UTC)
commit 89c5a9985bfa7ab609004b015172754a7e795c98
Author: Alex <murray alex gmail com>
Date: Thu Nov 15 00:24:13 2012 +1030
media-keys: Repeat screen and keyboard brightness keys
This makes these media keys work the same way as the volume keys do.
https://bugzilla.gnome.org/show_bug.cgi?id=684880
plugins/media-keys/gsd-media-keys-manager.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index 9c84d7f..ef97cd7 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -2030,6 +2030,10 @@ filter_key_events (XEvent *xevent,
case VOLUME_UP_KEY:
case VOLUME_DOWN_QUIET_KEY:
case VOLUME_UP_QUIET_KEY:
+ case SCREEN_BRIGHTNESS_UP_KEY:
+ case SCREEN_BRIGHTNESS_DOWN_KEY:
+ case KEYBOARD_BRIGHTNESS_UP_KEY:
+ case KEYBOARD_BRIGHTNESS_DOWN_KEY:
/* auto-repeatable keys */
if (xiev->evtype != XI_KeyPress)
return GDK_FILTER_CONTINUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]