[][src]Enum wayland_protocols::unstable::xwayland_keyboard_grab::v1::client::zwp_xwayland_keyboard_grab_manager_v1::Request

pub enum Request {
    Destroy,
    GrabKeyboard {
        id: Proxy<ZwpXwaylandKeyboardGrabV1>,
        surface: Proxy<WlSurface>,
        seat: Proxy<WlSeat>,
    },
}

Variants

Destroy

destroy the keyboard grab manager

Destroy the keyboard grab manager.

This is a destructor, once sent this object cannot be used any longer.

GrabKeyboard

grab the keyboard to a surface

The grab_keyboard request asks for a grab of the keyboard, forcing the keyboard focus for the given seat upon the given surface.

The protocol provides no guarantee that the grab is ever satisfied, and does not require the compositor to send an error if the grab cannot ever be satisfied. It is thus possible to request a keyboard grab that will never be effective.

The protocol:

Fields of GrabKeyboard

id: Proxy<ZwpXwaylandKeyboardGrabV1>surface: Proxy<WlSurface>seat: Proxy<WlSeat>

Trait Implementations

impl MessageGroup for Request[src]

type Map = ProxyMap

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

Auto Trait Implementations

impl Send for Request

impl Unpin for Request

impl Sync for Request

impl !UnwindSafe for Request

impl !RefUnwindSafe for Request

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]