Skip to content
  • Robert Mader's avatar
    wayland/xdg-shell: Intersect set geometry with subsurface tree geometry · c7db234c
    Robert Mader authored and Jonas Ådahl's avatar Jonas Ådahl committed
    Currently xdg-shell applies a geometry set with set_window_geometry
    unconditionally. But the specification requires:
    
    > When applied, the effective window geometry will be
    > the set window geometry clamped to the bounding rectangle of the
    > combined geometry of the surface of the xdg_surface and the
    > associated subsurfaces.
    
    This is especially important to implement viewporter and
    transformation.
    c7db234c