Trait wayland_client::protocol::wl_surface::Handler
[−]
[src]
pub trait Handler { fn enter(&mut self,
evqh: &mut EventQueueHandle,
proxy: &WlSurface,
output: &WlOutput) { ... } fn leave(&mut self,
evqh: &mut EventQueueHandle,
proxy: &WlSurface,
output: &WlOutput) { ... } }
Provided Methods
fn enter(&mut self,
evqh: &mut EventQueueHandle,
proxy: &WlSurface,
output: &WlOutput)
evqh: &mut EventQueueHandle,
proxy: &WlSurface,
output: &WlOutput)
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.
fn leave(&mut self,
evqh: &mut EventQueueHandle,
proxy: &WlSurface,
output: &WlOutput)
evqh: &mut EventQueueHandle,
proxy: &WlSurface,
output: &WlOutput)
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.