[mutter] backends: Implement the "show osd" pad action
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] backends: Implement the "show osd" pad action
- Date: Fri, 22 Jul 2016 12:02:48 +0000 (UTC)
commit 5effde59f654f43b25b4a2c07b1c70501c010552
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Jun 29 13:52:52 2016 +0200
backends: Implement the "show osd" pad action
Just call back into meta_display_request_show_osd().
src/backends/meta-input-settings.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/backends/meta-input-settings.c b/src/backends/meta-input-settings.c
index b6b091b..3dbf39c 100644
--- a/src/backends/meta-input-settings.c
+++ b/src/backends/meta-input-settings.c
@@ -1559,8 +1559,11 @@ meta_input_settings_handle_pad_button (MetaInputSettings *input_settings,
if (is_press)
meta_input_settings_cycle_tablet_output (input_settings, pad);
return TRUE;
- case G_DESKTOP_PAD_BUTTON_ACTION_KEYBINDING:
case G_DESKTOP_PAD_BUTTON_ACTION_HELP:
+ if (is_press)
+ meta_display_request_pad_osd (meta_get_display (), pad, FALSE);
+ return TRUE;
+ case G_DESKTOP_PAD_BUTTON_ACTION_KEYBINDING:
case G_DESKTOP_PAD_BUTTON_ACTION_NONE:
default:
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]