Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • W weston
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 362
    • Issues 362
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 124
    • Merge requests 124
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • waylandwayland
  • weston
  • Merge requests
  • !989

llibeston/backend-x11: Tracking previous events over multiple calls

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Marius Vlad requested to merge mvlad/weston:wip/mvlad/focus-in-focus-out into main Aug 25, 2022
  • Overview 17
  • Commits 2
  • Pipelines 12
  • Changes 2

Version 2: Rather than providing a band-aid which detected when we still had a notify listener installed and re-init the linker entry to avoid corrupting the surface destory signal list, properly fix the issue in and handle previous events that spawn across multiple x11_backend_handle_event() calls.

Version 1: As seen with the x11 backend, we could get multiple focus_out events without actually getting a focus_in event, causing the destroy signal list to be corrupted, leading to a crash.

Fixes #650 (closed)

Suggested-by: Alexandros Frantzis alexandros.frantzis@collabora.com Reported-by: Alexandros Frantzis alexandros.frantzis@collabora.com Signed-off-by: Marius Vlad marius.vlad@collabora.com ~~

Edited Aug 31, 2022 by Marius Vlad
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/mvlad/focus-in-focus-out