Go to the documentation of this file.
19 #ifndef MIRAL_MINIMAL_WINDOW_MANAGER_H
20 #define MIRAL_MINIMAL_WINDOW_MANAGER_H
92 #endif //MIRAL_MINIMAL_WINDOW_MANAGER_H
Mir Abstraction Layer.
Definition: floating_window_manager.h:29
Definition: application_info.h:31
bool begin_touch_move(WindowInfo const &window_info, MirInputEvent const *input_event)
bool handle_keyboard_event(MirKeyboardEvent const *event) override
Handles Alt-Tab, Alt-Grave and Alt-F4.
Definition: window_specification.h:43
auto place_new_window(ApplicationInfo const &app_info, WindowSpecification const &requested_specification) -> WindowSpecification override
Honours the requested specification.
void handle_raise_window(WindowInfo &window_info) override
Gives focus to the requesting window (tree)
MinimalWindowManager(WindowManagerTools const &tools)
Minimal implementation of a floating window management policy.
Definition: minimal_window_manager.h:29
bool handle_touch_event(MirTouchEvent const *event) override
Handles touch to focus.
WindowManagerTools tools
Definition: minimal_window_manager.h:78
Definition: rectangle.h:33
The interface through which the window management policy is determined.
Definition: window_management_policy.h:46
void handle_request_move(WindowInfo &window_info, MirInputEvent const *input_event) override
Initiates a move gesture (only implemented for pointers)
auto confirm_placement_on_display(WindowInfo const &window_info, MirWindowState new_state, Rectangle const &new_placement) -> Rectangle override
Honours the requested placement.
void handle_modify_window(WindowInfo &window_info, WindowSpecification const &modifications) override
Honours the requested modifications.
void advise_focus_gained(WindowInfo const &window_info) override
Raises newly focused window.
Definition: displacement.h:33
Definition: window_info.h:32
void handle_window_ready(WindowInfo &window_info) override
If the window can have focus it is given focus.
bool begin_touch_resize(WindowInfo const &window_info, MirInputEvent const *input_event, MirResizeEdge const &edge)
bool begin_pointer_resize(WindowInfo const &window_info, MirInputEvent const *input_event, MirResizeEdge const &edge)
bool begin_pointer_move(WindowInfo const &window_info, MirInputEvent const *input_event)
void handle_request_drag_and_drop(WindowInfo &window_info) override
Currently unimplemented.
void handle_request_resize(WindowInfo &window_info, MirInputEvent const *input_event, MirResizeEdge edge) override
Initiates a resize gesture (only implemented for pointers)
auto confirm_inherited_move(WindowInfo const &window_info, Displacement movement) -> Rectangle override
Honours the requested movement.
bool handle_pointer_event(MirPointerEvent const *event) override
Handles pre-existing move & resize gestures, plus click to focus.
Copyright © 2012-2023
Canonical Ltd.
Generated on Tue Aug 8 19:59:54 UTC 2023
This documentation is licensed under the GPL version 2 or 3.