19 #ifndef MIRAL_WINDOW_INFO_H
20 #define MIRAL_WINDOW_INFO_H
58 auto
name() const -> std::
string;
151 std::unique_ptr<Self> self;
Handle class to manage a Mir surface. It may be null (e.g. default initialized)
Definition: window.h:38
Definition: window_specification.h:44
Definition: splash_session.h:24
Mir Abstraction Layer.
Definition: floating_window_manager.h:29
Definition: rectangle.h:34
Definition: window_info.h:33
auto min_height() const -> mir::geometry::Height
auto name() const -> std::string
bool can_be_active() const
auto type() const -> MirWindowType
WindowInfo & operator=(WindowInfo const &that)
static bool needs_titlebar(MirWindowType type)
void add_child(Window const &child)
auto depth_layer() const -> MirDepthLayer
void swap(WindowInfo &rhs)
Definition: window_info.h:118
auto height_inc() const -> mir::geometry::DeltaY
auto shell_chrome() const -> MirShellChrome
bool can_morph_to(MirWindowType new_type) const
auto userdata() const -> std::shared_ptr< void >
This can be used by client code to store window manager specific information.
bool must_not_have_parent() const
auto confine_pointer() const -> MirPointerConfinementState
bool has_output_id() const
auto output_id() const -> int
void remove_child(Window const &child)
auto state() const -> MirWindowState
auto parent() const -> Window
auto max_width() const -> mir::geometry::Width
auto restore_rect() const -> mir::geometry::Rectangle
auto width_inc() const -> mir::geometry::DeltaX
auto clip_area() const -> mir::optional_value< mir::geometry::Rectangle >
Mir will not render anything outside this rectangle.
auto min_width() const -> mir::geometry::Width
auto window() const -> Window &
void constrain_resize(mir::geometry::Point &requested_pos, mir::geometry::Size &requested_size) const
WindowInfo(WindowInfo const &that)
auto children() const -> std::vector< Window > const &
auto min_aspect() const -> AspectRatio
auto exclusive_rect() const -> mir::optional_value< mir::geometry::Rectangle >
Mir will try to avoid occluding the area covered by this rectangle (relative to the window) (only mea...
auto max_aspect() const -> AspectRatio
WindowInfo(Window const &window, WindowSpecification const ¶ms)
bool must_have_parent() const
auto max_height() const -> mir::geometry::Height
auto attached_edges() const -> MirPlacementGravity
Get the edges of the output that the window is attached to (only meaningful for windows in state mir_...
auto application_id() const -> std::string
The D-bus service name and basename of the app's .desktop file See http://standards....
auto preferred_orientation() const -> MirOrientationMode
Definition: window_specification.h:61