[gnome-settings-daemon] keygrab: Allow grabbing Menu unmodified by default
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] keygrab: Allow grabbing Menu unmodified by default
- Date: Tue, 2 Oct 2012 16:04:04 +0000 (UTC)
commit 2184aa594e9aa6ec22a6e949de92390eee4dbc1f
Author: Rui Matos <tiagomatos gmail com>
Date: Tue Oct 2 17:43:04 2012 +0200
keygrab: Allow grabbing Menu unmodified by default
https://bugzilla.gnome.org/show_bug.cgi?id=685286
plugins/common/gsd-keygrab.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/common/gsd-keygrab.c b/plugins/common/gsd-keygrab.c
index 91713a7..aefc9ba 100644
--- a/plugins/common/gsd-keygrab.c
+++ b/plugins/common/gsd-keygrab.c
@@ -168,7 +168,8 @@ grab_key_internal (Key *key,
!IN_RANGE(key->keysym, XF86KEYS_RANGE_MIN, XF86KEYS_RANGE_MAX) &&
!IN_RANGE(key->keysym, FKEYS_RANGE_MIN, FKEYS_RANGE_MAX) &&
key->keysym != GDK_KEY_Pause &&
- key->keysym != GDK_KEY_Print) {
+ key->keysym != GDK_KEY_Print &&
+ key->keysym != GDK_KEY_Menu) {
GString *keycodes;
keycodes = g_string_new ("");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]