mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00: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)
|
if (is_press)
|
||||||
meta_input_settings_cycle_tablet_output (input_settings, pad);
|
meta_input_settings_cycle_tablet_output (input_settings, pad);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
case G_DESKTOP_PAD_BUTTON_ACTION_KEYBINDING:
|
|
||||||
case G_DESKTOP_PAD_BUTTON_ACTION_HELP:
|
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:
|
case G_DESKTOP_PAD_BUTTON_ACTION_NONE:
|
||||||
default:
|
default:
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user