Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • W wayland-protocols
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 108
    • Issues 108
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 57
    • Merge requests 57
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • waylandwayland
  • wayland-protocols
  • Issues
  • #38
Closed
Open
Issue created Feb 26, 2021 by Robert Mader@rmaderReporter

Add a way to express an 'suspended' state

Applications may have ways to reduce resource consumption when not actively in use - for example when hidden behind other windows etc. One example here are browsers that throttle JS timers in such cases.

In the moment it is somewhat possible to do this by adding some heuristic around frame callbacks, however it might make sense to have an explicit hint, controlled by the compositor. For example for app overviews, where apps may not be woken up.

Some points from IRC:

  • may or may not be defined as "visible"
  • may or may not be defined as "watch your resources, noone cares about you right now"
  • could be added to xdg-shell
  • could be helpful on Xwayland/WMs as well to emulate similar X11 optimizations (XVisibilityEvent, map/unmap, NET_WM_STATE_HIDDEN)
Edited Feb 26, 2021 by Robert Mader
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking