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;
Definition: tiling_window_manager.h:50
A collection of rectangles (with possible duplicates).
Definition: rectangles.h:35
Definition: internal_client.h:60
Handle class to manage a Mir surface. It may be null (e.g. default initialized)
Definition: window.h:38
The interface through which the window management policy is determined.
Definition: window_management_policy.h:52
Definition: window_specification.h:44
A rectangular area of the display. Not tied to a specific output.
Definition: zone.h:36
Basic geometry types. Types for dimensions, displacements, etc. and the operations that they support.
Definition: dimensions.h:31
std::shared_ptr< mir::scene::Session > Application
Definition: application.h:34
Definition: displacement.h:32
Definition: rectangle.h:34
Definition: application_info.h:32
Definition: window_info.h:33