https://bugzilla.gnome.org/show_bug.cgi?id=735389
  gtk+ | Backend: Wayland | unspecified

--- Comment #1 from Carlos Garnacho <[email protected]> 2014-08-25 14:38:44 UTC 
---
Created an attachment (id=284408)
 View: https://bugzilla.gnome.org/attachment.cgi?id=284408
 Review: https://bugzilla.gnome.org/review?bug=735389&attachment=284408

wayland: Protect against invalid keymaps gotten from the compositor

If the compositor sends a keymap that fails on "compilation",
xkb_keymap_new_from_string() returns NULL, which makes xkb_state_new()
crash when assuming there is a keymap.

In these cases, gdk must remain with a xkb_state to handle modifiers/keys
properly, so warn about the invalid keymap string, and keep the previous
keymap (currently initialized to "us")

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to