[][src]Trait wlroots::xwayland::surface::Handler

pub trait Handler {
    fn destroyed(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle
    ) { ... }
fn on_configure(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle,
        configure: &Configure
    ) { ... }
fn on_move(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle,
        event: &Move
    ) { ... }
fn on_resize(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle,
        event: &Resize
    ) { ... }
fn on_maximize(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle
    ) { ... }
fn on_fullscreen(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle
    ) { ... }
fn on_map(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle
    ) -> Option<Box<dyn Handler>> { ... }
fn on_unmap(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle
    ) { ... }
fn title_set(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle
    ) { ... }
fn class_set(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle
    ) { ... }
fn parent_set(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle
    ) { ... }
fn pid_set(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle
    ) { ... }
fn window_type_set(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle
    ) { ... }
fn ping_timeout(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Option<Handle>,
        xwayland_surface_handle: Handle
    ) { ... } }

Provided Methods

Called when the XWayland surface is destroyed (e.g by the user).

Called when the XWayland surface wants to be configured.

Called when the XWayland surface wants to move.

Called when the XWayland surface wants to be resized.

Called when the XWayland surface wants to be maximized.

Called when the XWayland surface wants to be fullscreen.

Called when the title has been set on the XWayland surface.

Called when the class has been set on the XWayland surface.

Called when the parent has been set on the XWayland surface.

Called when the PID has been set on the XWayland surface.

Called when the window type has been set on the XWayland surface.

Called when the ping request timed out.

This usually indicates something is wrong with the client.

Implementors