~gerboland/unity-mir/enable-OSK-surface

« back to all changes in this revision

Viewing changes to src/unity-mir/surfacebuilder.cpp

  • Committer: Tarmac
  • Author(s): Gerry Boland
  • Date: 2013-08-20 11:47:09 UTC
  • mfrom: (43.2.1 use-shell-name)
  • Revision ID: tarmac-20130820114709-c17efpcl8io8pcf2
As qtubuntu setting surface title correctly, update shell surface detection criterion to suit.

Approved by Albert Astals Cid, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    static const ms::DepthId shellSurfaceDepth{1};
45
45
    static bool shellSurfaceFound = false;
46
46
 
47
 
    if (params.name == "Window 1" && !shellSurfaceFound) //TODO(greyback) Mir should identify shell surface somehow
 
47
    if (params.name == "Qml Phone Shell" && !shellSurfaceFound) //TODO(greyback) Need to identify shell surface more securely
48
48
    {
49
49
        DLOG("Shell depth");
50
50
        auto newParams = params;