Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 932
    • Issues 932
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 98
    • Merge requests 98
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • xserverxserver
  • Merge requests
  • !769

Merged
Created Oct 20, 2021 by Olivier Fourdan@ofourdan🛠Maintainer

xwayland: Small refactoring of the cursor code

  • 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
Reviewer
Request review from
Time tracking
Source branch: xwayland-cursor-cleanup