Function xcb::xproto::grab_pointer[][src]

pub fn grab_pointer<'a>(
    c: &'a Connection,
    owner_events: bool,
    grab_window: Window,
    event_mask: u16,
    pointer_mode: u8,
    keyboard_mode: u8,
    confine_to: Window,
    cursor: Cursor,
    time: Timestamp
) -> GrabPointerCookie<'a>

Grab the pointer

Actively grabs control of the pointer. Further pointer events are reported only to the grabbing client. Overrides any active pointer grab by this client.

parameters: