~andreas-pokorny/mir/fix-1261647

« back to all changes in this revision

Viewing changes to src/server/shell/consuming_placement_strategy.cpp

  • Committer: Andreas Pokorny
  • Date: 2014-04-14 13:44:23 UTC
  • mfrom: (1499.1.50 development-branch)
  • Revision ID: andreas.pokorny@canonical.com-20140414134423-rp07kqck3t8kmt3d
updated to development-branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 */
18
18
 
19
19
#include "consuming_placement_strategy.h"
20
 
#include "mir/shell/surface_creation_parameters.h"
 
20
#include "mir/scene/surface_creation_parameters.h"
21
21
#include "mir/shell/display_layout.h"
22
22
#include "mir/geometry/rectangle.h"
23
23
 
25
25
 
26
26
#include <algorithm>
27
27
 
 
28
namespace ms = mir::scene;
28
29
namespace msh = mir::shell;
29
30
namespace geom = mir::geometry;
30
31
 
34
35
{
35
36
}
36
37
 
37
 
msh::SurfaceCreationParameters msh::ConsumingPlacementStrategy::place(
38
 
    msh::Session const& /* session */,
39
 
    msh::SurfaceCreationParameters const& request_parameters)
 
38
ms::SurfaceCreationParameters msh::ConsumingPlacementStrategy::place(
 
39
    ms::Session const& /* session */,
 
40
    ms::SurfaceCreationParameters const& request_parameters)
40
41
{
41
42
    mir::graphics::DisplayConfigurationOutputId const output_id_invalid{
42
43
        mir_display_output_id_invalid};