Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mutter mutter
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1.2k
    • Issues 1.2k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 126
    • Merge requests 126
  • 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
  • GNOMEGNOME
  • muttermutter
  • Merge requests
  • !2252

constraints: Try place popup on the same monitor as the anchor rect

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jonas Ådahl requested to merge jadahl/mutter:wip/popup-right-monitor into main Jan 20, 2022
  • Overview 4
  • Commits 1
  • Pipelines 4
  • Changes 1

When we'd place a popup, if the initially calculated position would be on another monitor than the anchor rect on the parent window, the later constrained position would end up on another monitor than the parent window. This could for example happen if a popup menu opening towards the right was opened very close to the screen edge of a right most monitor in a two side by side monitor setup.

Closes: #1783 (closed) Closes: #1768 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/popup-right-monitor