Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • wlroots wlroots
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 334
    • Issues 334
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 135
    • Merge requests 135
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wlrootswlroots
  • wlrootswlroots
  • Merge requests
  • !3866

xwayland: Read and publish _NET_WM_STRUT_PARTIAL property

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open John Lindgren requested to merge jlindgren90/wlroots:xwayland-strut into master Nov 18, 2022
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 4

This is needed for compositors that want to reserve space for XWayland panels. Such a feature can be useful in a "transitional" setup, where only the X11 window manager and compositor is replaced but other components of an X11 desktop environment are still used.

This change simply reads the X11 property; the compositor is free to ignore it. Thus, compositors that don't want to support such a "transitional" feature are not impacted.

I can eliminate the xcb-ewmh dependency if that's preferred; it would just require duplicating the xcb_ewmh_wm_strut_partial_t struct.

Example compositor usage: https://github.com/labwc/labwc/pull/625

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: xwayland-strut