Skip to content

wayland: Don't return True if we fail to convert a keyval

Guido Günther requested to merge guidog/gtk:wayland-entries-for-keyval into gtk-3-24

gdk_keymap_get_entries_for_keyval is supposed to return FALSE when no keys were found. Do so to prevent careless clients (that don't check n_keys too) from crashing.

The x11 backend does it correctly (as does GTK4 where the function isn't part of the public API).

Merge request reports