|
| MinimalWindowManager (WindowManagerTools const &tools) |
|
| ~MinimalWindowManager () |
|
auto | place_new_window (ApplicationInfo const &app_info, WindowSpecification const &requested_specification) -> WindowSpecification override |
| Honours the requested specification. More...
|
|
void | handle_window_ready (WindowInfo &window_info) override |
| If the window can have focus it is given focus. More...
|
|
void | handle_modify_window (WindowInfo &window_info, WindowSpecification const &modifications) override |
| Honours the requested modifications. More...
|
|
void | handle_raise_window (WindowInfo &window_info) override |
| Gives focus to the requesting window (tree) More...
|
|
auto | confirm_placement_on_display (WindowInfo const &window_info, MirWindowState new_state, Rectangle const &new_placement) -> Rectangle override |
| Honours the requested placement. More...
|
|
bool | handle_keyboard_event (MirKeyboardEvent const *event) override |
| Handles Alt-Tab, Alt-Grave and Alt-F4. More...
|
|
bool | handle_touch_event (MirTouchEvent const *event) override |
| Handles touch to focus. More...
|
|
bool | handle_pointer_event (MirPointerEvent const *event) override |
| Handles pre-existing move & resize gestures, plus click to focus. More...
|
|
void | handle_request_drag_and_drop (WindowInfo &window_info) override |
| Currently unimplemented. More...
|
|
void | handle_request_move (WindowInfo &window_info, MirInputEvent const *input_event) override |
| Initiates a move gesture (only implemented for pointers) More...
|
|
void | handle_request_resize (WindowInfo &window_info, MirInputEvent const *input_event, MirResizeEdge edge) override |
| Initiates a resize gesture (only implemented for pointers) More...
|
|
auto | confirm_inherited_move (WindowInfo const &window_info, Displacement movement) -> Rectangle override |
| Honours the requested movement. More...
|
|
void | advise_focus_gained (WindowInfo const &window_info) override |
| Raises newly focused window. More...
|
|
virtual void | advise_begin () |
| before any related calls begin More...
|
|
virtual void | advise_end () |
| after any related calls end More...
|
|
virtual | ~WindowManagementPolicy ()=default |
|
| WindowManagementPolicy ()=default |
|
| WindowManagementPolicy (WindowManagementPolicy const &)=delete |
|
WindowManagementPolicy & | operator= (WindowManagementPolicy const &)=delete |
|
virtual void | advise_new_app (ApplicationInfo &application) |
| Notification that a new application has connected. More...
|
|
virtual void | advise_delete_app (ApplicationInfo const &application) |
| Notification that an application has disconnected. More...
|
|
virtual void | advise_new_window (WindowInfo const &window_info) |
| Notification that a window has been created. More...
|
|
virtual void | advise_focus_lost (WindowInfo const &window_info) |
| Notification that a window has lost focus. More...
|
|
virtual void | advise_state_change (WindowInfo const &window_info, MirWindowState state) |
| Notification that a window is about to change state. More...
|
|
virtual void | advise_move_to (WindowInfo const &window_info, Point top_left) |
| Notification that a window is about to move. More...
|
|
virtual void | advise_resize (WindowInfo const &window_info, Size const &new_size) |
| Notification that a window is about to resize. More...
|
|
virtual void | advise_delete_window (WindowInfo const &window_info) |
| Notification that a window is about to be destroyed. More...
|
|
virtual void | advise_raise (std::vector< Window > const &windows) |
| Notification that windows are being raised to the top. More...
|
|
virtual void | advise_adding_to_workspace (std::shared_ptr< Workspace > const &workspace, std::vector< Window > const &windows) |
| Notification that windows are being added to a workspace. More...
|
|
virtual void | advise_removing_from_workspace (std::shared_ptr< Workspace > const &workspace, std::vector< Window > const &windows) |
| Notification that windows are being removed from a workspace. More...
|
|
virtual void | advise_output_create (Output const &output) |
|
virtual void | advise_output_update (Output const &updated, Output const &original) |
|
virtual void | advise_output_delete (Output const &output) |
|
virtual void | advise_application_zone_create (Zone const &application_zone) |
|
virtual void | advise_application_zone_update (Zone const &updated, Zone const &original) |
|
virtual void | advise_application_zone_delete (Zone const &application_zone) |
|
Minimal implementation of a floating window management policy.