diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2016-12-28 11:49:05 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-02-10 20:11:19 +0100 |
commit | fff7da2a96bea9dd979bb9d809448c877768c64c (patch) | |
tree | edd1cdc13af6e673b38b48adb0b8c7b72fbc8770 /src/backends/meta-input-settings-private.h | |
parent | d6fc41b73e80fe7b8320254650a3bc058fa955be (diff) | |
download | mutter-fff7da2a96bea9dd979bb9d809448c877768c64c.tar.gz |
backends: Have meta_input_settings_handle_pad_button() take an event
As all the relevant backends are expected to provide
ClutterPadButtonEvents, it makes no sense to split the information,
plus all other event fields are now available and might be needed
in the future.
https://bugzilla.gnome.org/show_bug.cgi?id=771098
Diffstat (limited to 'src/backends/meta-input-settings-private.h')
-rw-r--r-- | src/backends/meta-input-settings-private.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backends/meta-input-settings-private.h b/src/backends/meta-input-settings-private.h index 0ab537726..18eeb3a51 100644 --- a/src/backends/meta-input-settings-private.h +++ b/src/backends/meta-input-settings-private.h @@ -135,10 +135,8 @@ gboolean meta_input_settings_is_pad_button_grabbed (MetaIn ClutterInputDevice *pad, guint button); -gboolean meta_input_settings_handle_pad_button (MetaInputSettings *input_settings, - ClutterInputDevice *pad, - gboolean is_press, - guint button); +gboolean meta_input_settings_handle_pad_button (MetaInputSettings *input_settings, + const ClutterPadButtonEvent *event); gchar * meta_input_settings_get_pad_button_action_label (MetaInputSettings *input_settings, ClutterInputDevice *pad, guint button); |