1. 21 Nov, 2016 23 commits
  2. 18 Nov, 2016 1 commit
    • Daniel Stone's avatar
      text-input: Clear out context->input pointer · 97863d6f
      Daniel Stone authored
      If we destroy the text_input (e.g. due to surface deactivation) whilst
      the IM manager (the client holding the input_method_context resource,
      usually weston-keyboard) sends an event, we can hit a segfault in
      text-backend. This is because we free the text_input structure, but
      don't actually clear the context->input structure even when we send the
      deactivate event.
      
      This is clearly intended to be catered for, since context->input is
      always checked for NULL before we relay any events.
      
      This is enough to fix one cause of text-test failing, but it's
      ultimately error-prone until we have a no-op test-shell; there is still
      a race where weston-desktop-shell can launch weston-keyboard before
      text-test manages to bind zwp_text_input_manager.
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      Maniphest Tasks: https://phabricator.freedesktop.org/T7615Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      97863d6f
  3. 16 Nov, 2016 8 commits
  4. 09 Nov, 2016 2 commits
  5. 07 Nov, 2016 6 commits