mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
input-settings: Use 0 initialized struct for kbd a11y
Make sure our keyboard accessibility settings structure is all zero initialized, to avoid potential padding issues on some platform when comparing settings. Reported by Daniel van Vugt on IRC. https://gitlab.gnome.org/GNOME/mutter/merge_requests/552
This commit is contained in:
parent
bcee890434
commit
eccf7b105c
@ -1216,7 +1216,7 @@ load_keyboard_a11y_settings (MetaInputSettings *input_settings,
|
||||
ClutterInputDevice *device)
|
||||
{
|
||||
MetaInputSettingsPrivate *priv = meta_input_settings_get_instance_private (input_settings);
|
||||
ClutterKbdA11ySettings kbd_a11y_settings;
|
||||
ClutterKbdA11ySettings kbd_a11y_settings = { 0 };
|
||||
ClutterInputDevice *core_keyboard;
|
||||
guint i;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user