~dandrader/qtmir/coordinateTranslator

Viewing all changes in revision 485.

  • Committer: CI Train Bot
  • Author(s): Daniel d'Andrada
  • Date: 2016-05-11 09:08:25 UTC
  • mfrom: (484.1.2 promptBeforeSurfaceDraws)
  • Revision ID: ci-train-bot@canonical.com-20160511090825-fazlyfjv76mzsj0r
Session: Add a blank surface to the public list if it already has child prompt surfaces

A prompt session may come in too early, before its parent session got a chance
to draw its surface's first frame.

Normally that wouldn't be a problem and we could withhold that parent surface until
it's finally drawn to. But unfortunately the application process might be blocked,
unable to draw anything, until its child prompt session gets dismissed.

Because of that we have no option but to expose this blank surface to shell so that
it can display it along with the prompt surface on top of it, so that the user can
interact with it right away and finally unblock the application. Fixes: #1578665
Approved by: Unity8 CI Bot

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: