mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -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)
|
ClutterInputDevice *device)
|
||||||
{
|
{
|
||||||
MetaInputSettingsPrivate *priv = meta_input_settings_get_instance_private (input_settings);
|
MetaInputSettingsPrivate *priv = meta_input_settings_get_instance_private (input_settings);
|
||||||
ClutterKbdA11ySettings kbd_a11y_settings;
|
ClutterKbdA11ySettings kbd_a11y_settings = { 0 };
|
||||||
ClutterInputDevice *core_keyboard;
|
ClutterInputDevice *core_keyboard;
|
||||||
guint i;
|
guint i;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user