19 #ifndef MIRAL_CANONICAL_WINDOW_MANAGER_H_ 20 #define MIRAL_CANONICAL_WINDOW_MANAGER_H_ void advise_focus_gained(WindowInfo const &info) override
Raises the window (and any children)
CanonicalWindowManagerPolicy(WindowManagerTools const &tools)
Definition: application_info.h:31
Widely accepted defaults for window management.
Definition: canonical_window_manager.h:28
Definition: window_info.h:32
Definition: window_specification.h:43
The interface through which the window management policy is determined.
Definition: window_management_policy.h:45
auto confirm_inherited_move(WindowInfo const &window_info, Displacement movement) -> Rectangle override
Move the child window with the parent.
Definition: displacement.h:32
void handle_raise_window(WindowInfo &window_info) override
Tries to focus on the newly ready window.
Definition: rectangle.h:33
WindowManagerTools tools
Definition: canonical_window_manager.h:55
void handle_window_ready(WindowInfo &window_info) override
Tries to focus on the newly ready window.
void handle_modify_window(WindowInfo &window_info, WindowSpecification const &modifications) override
Applies the requested modifications.
Mir Abstraction Layer.
Definition: add_init_callback.h:26
virtual auto place_new_window(ApplicationInfo const &app_info, WindowSpecification const &request_parameters) -> WindowSpecification override
Customize initial window placement.