Skip to content
GitLab
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 922
    • Issues 922
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 119
    • Merge requests 119
  • 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
  • !731

xwayland: Notify of root size change with XRandR emulation

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Olivier Fourdan requested to merge ofourdan/xserver:xrandr-change-notify into master Aug 19, 2021
  • Overview 5
  • Commits 1
  • Pipelines 7
  • Changes 1

Some clients (typically Java, bu maybe others) rely on ConfigureNotify or RRScreenChangeNotify events to tell that the XRandR request is successful.

When emulated XRandR is used in Xwayland, compute the emulated root size and send the expected ConfigureNotify and RRScreenChangeNotify events with the emulated size of the root window to the asking X11 client.

Note that the root window size does not actually change, as XRandR emulation is achieved by scaling the client window using viewports in Wayland, so this event is sort of misleading.

CC: @jwrdegoede

Edited Oct 08, 2021 by Olivier Fourdan
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: xrandr-change-notify