~kgunn72/mir/mir-mwc-ppa-disable-tests

« back to all changes in this revision

Viewing changes to playground/demo-shell/demo_shell.cpp

  • Committer: Tarmac
  • Author(s): Alan Griffiths
  • Date: 2015-01-28 20:21:34 UTC
  • mfrom: (2257.1.31 mir3)
  • Revision ID: tarmac-20150128202134-dn97lf8gwk0xcqbc
shell, frontend: Provide a mir::shell::Shell customization point.

Approved by PS Jenkins bot, Kevin DuBois, Alexandros Frantzis.

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
 
103
103
    std::shared_ptr<ms::PlacementStrategy> the_placement_strategy() override
104
104
    {
105
 
        return shell_placement_strategy(
 
105
        return placement_strategy(
106
106
            [this]() -> std::shared_ptr<ms::PlacementStrategy>
107
107
            {
108
108
                if (the_options()->is_set("fullscreen-surfaces"))