Skip to main content

FullscreenProvider

Trait FullscreenProvider 

pub trait FullscreenProvider {
    // Provided methods
    fn fullscreen_intent(&self) -> Option<bool> { ... }
    fn fullscreen_params(&self) -> FullscreenRequest { ... }
    fn on_fullscreen_changed(&mut self, _active: bool) { ... }
}
Expand description

Optional OS-fullscreen capability for roots and forwarding containers.

Provided Methods§

fn fullscreen_intent(&self) -> Option<bool>

None means no opinion; otherwise this is a level-triggered intent.

fn fullscreen_params(&self) -> FullscreenRequest

Select the output and mirrored-vs-distinct presentation mode.

fn on_fullscreen_changed(&mut self, _active: bool)

Report an actual OS fullscreen transition, including compositor exits.

Implementors§