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

xwayland: Small refactoring of the cursor code

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Olivier Fourdan requested to merge ofourdan/xserver:xwayland-cursor-cleanup into master Oct 20, 2021
  • Overview 4
  • Commits 3
  • Pipelines 4
  • Changes 3

While investigating !768 (merged) I was confused but the code:

  1. Two different functions in xwayland-input.c and xwayland-cursor.c share the same name xwl_seat_update_cursor(),
  2. xwl_release_cursor() is implemented in xwayland-input.c while it's a cursor function,
  3. The codedealing with teh cursor frame callback is duplicated in multiple places between xwayland-input.c and xwayland-cursor.c

This is an attempt to address those inconsistencies, there should be no functional change here.

Goes on top of and includes !768 (merged)

CC: @carlosg

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: xwayland-cursor-cleanup