|
| FloatingWindowManagerPolicy (miral::WindowManagerTools const &tools, std::shared_ptr< SplashSession > const &spinner, miral::InternalClientLauncher const &launcher, std::function< void()> &shutdown_hook) |
|
| ~FloatingWindowManagerPolicy () |
|
virtual miral::WindowSpecification | place_new_window (miral::ApplicationInfo const &app_info, miral::WindowSpecification const &request_parameters) override |
| Customize initial window placement. More...
|
|
|
o Switch apps: Alt+Tab, tap or click on the corresponding window o Switch window: Alt+`, tap or click on the corresponding window o Move window: Alt-leftmousebutton drag (three finger drag) o Resize window: Alt-middle_button drag (three finger pinch) o Maximize/restore current window (to display size): Alt-F11 o Maximize/restore current window (to display height): Shift-F11 o Maximize/restore current window (to display width): Ctrl-F11 o Switch workspace .
. . . . . . . . . : Meta-Alt-[F1|F2|F3|F4] o Switch workspace taking active window: Meta-Ctrl-[F1|F2|F3|F4]
|
bool | handle_pointer_event (MirPointerEvent const *event) override |
| pointer event handler More...
|
|
bool | handle_touch_event (MirTouchEvent const *event) override |
| touch event handler More...
|
|
bool | handle_keyboard_event (MirKeyboardEvent const *event) override |
| keyboard event handler More...
|
|
|
void | advise_new_window (miral::WindowInfo const &window_info) override |
| Notification that a window has been created. More...
|
|
void | handle_window_ready (miral::WindowInfo &window_info) override |
| notification that the first buffer has been posted More...
|
|
void | advise_focus_gained (miral::WindowInfo const &info) override |
| Notification that a window has gained focus. More...
|
|
void | handle_modify_window (miral::WindowInfo &window_info, miral::WindowSpecification const &modifications) override |
| request from client to modify the window specification. More...
|
|
| MinimalWindowManager (WindowManagerTools const &tools) |
|
| MinimalWindowManager (WindowManagerTools const &tools, MirInputEventModifier pointer_drag_modifier) |
| Allows shells to change the modifer used to identify a window drag gesture The default is mir_input_event_modifier_alt. More...
|
|
| ~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 auto | place_new_window (ApplicationInfo const &app_info, WindowSpecification const &requested_specification) -> WindowSpecification=0 |
| Customize initial window placement. More...
|
|
virtual auto | confirm_inherited_move (WindowInfo const &window_info, Displacement movement) -> Rectangle=0 |
| Confirm (and optionally adjust) the motion of a child window when the parent is moved. 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_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) |
|