df84dbe382
Other compositors such as mutter update the keyboard serial for both key press and key release, unlike weston which updates it only on key press. When dealing with popup windows which require a match in serials, if the event that caused the popup to be shown is a key release, then the popup would be dismissed. This occurs when navigating gtk+ sub-menus using the keyboard. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=768017