gdk_keymap_get_entries_for_keyval() returns TRUE with n_keys=0 in Wayland
Submitted by Carlos Garcia Campos
Link to original bug (#787069)
Description
The documentation says that TRUE is returned if keys were found and returned and that's what all other backends do (except mir that is broken too). This is causing crashes in WebKit that checks only the return value, and assumes the returned array has at least one item. See WebKit bug https://bugs.webkit.org/show_bug.cgi?id=176154
Version: 3.22.x