mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
backends: Implement the "show osd" pad action
Just call back into meta_display_request_show_osd().
This commit is contained in:
parent
76595af8af
commit
5effde59f6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user