Skip to content
  • Georges Basile Stavracas Neto's avatar
    window-actor: Handle geometry scale · fb9e8768
    Georges Basile Stavracas Neto authored and Jonas Ådahl's avatar Jonas Ådahl committed
    Geometry scale is applied to each surface individually, using
    Clutter scales, and not only this breaks subsurfaces, it also
    pollutes the toolkit and makes the actor tree slightly too
    fragile. If GNOME Shell mistakenly tries to set the actor scale
    of any of these surfaces, for example, various artifacts might
    happen.
    
    Move geometry scale handling to MetaWindowActor. It is applied
    as a child transform operation, so that the Clutter-managed
    scale properties are left untouched.
    
    In the future where the entirety of the window is managed by a
    ClutterContent itself, the geometry scale will be applied
    directly into the transform matrix of MetaWindowActor. However,
    doing that now would break the various ClutterClones used by
    GNOME Shell, so the child transform is an acceptable compromise
    during this transition.
    
    !409
    fb9e8768