Enum wayland_client::wayland::compositor::WlSurfaceEvent [] [src]

pub enum WlSurfaceEvent {
    Enter(ProxyId),
    Leave(ProxyId),
}

Variants

Enter(ProxyId)

surface enters an output

This is emitted whenever a surface's creation, movement, or resizing results in some part of it being within the scanout region of an output.

Note that a surface may be overlapping with zero or more outputs.

Values: output,

Leave(ProxyId)

surface leaves an output

This is emitted whenever a surface's creation, movement, or resizing results in it no longer having any part of it within the scanout region of an output.

Values: output,

Trait Implementations

impl Debug for WlSurfaceEvent
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.