19 #ifndef MIRAL_SHELL_TILING_WINDOW_MANAGER_H 20 #define MIRAL_SHELL_TILING_WINDOW_MANAGER_H 55 auto place_new_window(
67 void advise_end()
override;
84 void advise_application_zone_create(
miral::Zone const& zone)
override;
86 void advise_application_zone_delete(
miral::Zone const& zone)
override;
88 static const int modifier_mask =
95 void click(
Point cursor);
96 void resize(
Point cursor);
97 void drag(
Point cursor);
113 std::shared_ptr<SplashSession> spinner;
117 bool dirty_tiles =
false;
123 void push(std::shared_ptr<void>
const& tile);
124 void erase(std::shared_ptr<void>
const& tile);
126 using Enumerator = std::function<void(std::shared_ptr<void>
const& tile)>;
128 void enumerate(Enumerator
const& enumerator)
const;
129 auto count() ->
size_t {
return tiles.size(); }
132 std::vector<std::shared_ptr<void>> tiles;
A collection of rectangles (with possible duplicates).
Definition: rectangles.h:34
Definition: application_info.h:31
Definition: internal_client.h:70
Definition: window_info.h:32
Definition: window_specification.h:43
Handle class to manage a Mir surface. It may be null (e.g. default initialized)
Definition: window.h:37
std::shared_ptr< mir::scene::Session > Application
Definition: application.h:34
The interface through which the window management policy is determined.
Definition: window_management_policy.h:46
Handle additional requests related to application zones.
Definition: window_management_policy.h:284
A rectangular area of the display. Not tied to a specific output.
Definition: zone.h:35
Definition: displacement.h:33
Definition: rectangle.h:33
Definition: tiling_window_manager.h:47
Basic geometry types. Types for dimensions, displacements, etc. and the operations that they support...
Definition: dimensions.h:30