Struct cognitive_exhibitor::Compositor [] [src]

pub struct Compositor<C> where
    C: ExhibitorCoordinationTrait
{ /* fields omitted */ }

Compositor main structure.

Methods

impl<C> Compositor<C> where
    C: ExhibitorCoordinationTrait
[src]

Public methods.

Compositor constructor.

Creates new display with default workspace.

Executes given command.

Handles new surface by settling it in frame tree, adding to history and notifying coordinator.

Dock given surface.

Handles destruction of surface. Removes it from history and frame free.

Pop given surface in history.

Moves given surface by given vector. Only floating surfaces are moved. This movement is associated with interaction with user and pin_point describes point on surface by which the surface is dragged. If pin_point changes display the surface frame is resettled to corresponding workspace.

Returns root frame.

Returns selected frame.