Enum wayland_server::protocol::wl_surface::Event[][src]

pub enum Event {
    Enter {
        output: Resource<WlOutput>,
    },
    Leave {
        output: Resource<WlOutput>,
    },
}

Variants

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.

Fields of Enter

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.

Fields of Leave

Trait Implementations

impl MessageGroup for Event
[src]

MESSAGES: &'static [MessageDesc] = &[super::MessageDesc{name: "enter",
                     since: 1,
                     signature: &[super::ArgumentType::Object],},
  super::MessageDesc{name: "leave",
                     since: 1,
                     signature: &[super::ArgumentType::Object],}]

Wire representation of this MessageGroup

The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more

Whether this message is a destructor Read more

Retrieve the child Object associated with this message if any

Construct a message from its raw representation

Turn this message into its raw representation

Auto Trait Implementations

impl Send for Event

impl Sync for Event