Skip to content
  • Cosimo Cecchi's avatar
    window: copy back window surface data when the implicit paint is flushed · 8f4f7faa
    Cosimo Cecchi authored and Alexander Larsson's avatar Alexander Larsson committed
    When an implicit paint is flushed during expose, e.g. because a
    non-double buffered widget is painting, make sure to copy the existing
    data from the window surface we rendered before flushing back to the
    paint surface, instead of using an empty base.
    Code was already handling that (and said so in the comment), but only
    when no implicit paint was used at all, and not in the case when it's
    flushed mid-expose.
    8f4f7faa