Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mutter mutter
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,022
    • Issues 1,022
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 130
    • Merge requests 130
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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
  • GNOME
  • muttermutter
  • Merge requests
  • !283

clutter-actor: Add detail to captured-event signal [performance]

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Daniel van Vugt requested to merge vanvugt/mutter:captured-event-detail into master Nov 02, 2018
  • Overview 37
  • Commits 1
  • Pipelines 11
  • Changes 1

The detail allows handlers to distinguish between high volume cursor motion events and everything else. This allows (most) event handlers who don't care about cursor motion to not have their power/CPU usage impacted by it.

Using minimal classification is important because it allows those handlers who do want to use this optimization via captured-event::nonmotion to keep supporting multiple event types without requiring any logic changes.

Any handler that does want cursor motion events and others should simply remain unmodified and keep using captured-event.

When combined with gnome-shell!276 (closed) this helps to solve #283 (closed). Although see also !189 (merged) which provides a much bigger improvement.

Edited Jan 18, 2019 by Daniel van Vugt
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: captured-event-detail