diff options
author | Zhang Xianwei <[email protected]> | 2018-11-23 08:57:05 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-11-25 14:36:30 +0100 |
commit | d8eabb82c462258efc71a961918ba0829093e6a8 (patch) | |
tree | 4cc55a43c07f516b3415dd485d7acd3c48a35105 /plugins/media-keys/acme.h | |
parent | 62299ac839240f9816645523fb2b31bb7977864c (diff) | |
download | mate-settings-daemon-d8eabb82c462258efc71a961918ba0829093e6a8.tar.bz2 mate-settings-daemon-d8eabb82c462258efc71a961918ba0829093e6a8.tar.xz |
media-keys: Add support for display switch OSD
Some laptops have a display switch mode hotkey. This is bound by
default to XF86Display. Add OSD to give people a visual feed back.
Signed-off-by: Zhang Xianwei <[email protected]>
Diffstat (limited to 'plugins/media-keys/acme.h')
-rw-r--r-- | plugins/media-keys/acme.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/media-keys/acme.h b/plugins/media-keys/acme.h index b209b74..8ab55fe 100644 --- a/plugins/media-keys/acme.h +++ b/plugins/media-keys/acme.h @@ -58,6 +58,7 @@ enum { LOGOUT_KEY, RFKILL_KEY, BLUETOOTH_RFKILL_KEY, + DISPLAY_KEY, HANDLED_KEYS, }; @@ -99,7 +100,8 @@ static struct { { ON_SCREEN_KEYBOARD_KEY, "on-screen-keyboard", NULL, NULL }, { LOGOUT_KEY, "logout", NULL, NULL }, { RFKILL_KEY, NULL, "XF86WLAN", NULL }, - { BLUETOOTH_RFKILL_KEY, NULL, "XF86Bluetooth", NULL } + { BLUETOOTH_RFKILL_KEY, NULL, "XF86Bluetooth", NULL }, + { DISPLAY_KEY, NULL, "XF86Display", NULL } }; #endif /* __ACME_H__ */ |