Function wlc_sys_with_elogind::wlc_set_keyboard_key_cb [] [src]

pub unsafe extern "C" fn wlc_set_keyboard_key_cb(
    cb: Option<unsafe extern "C" fn(_: wlc_handle, _: u32, _: *const wlc_modifiers, _: u32, _: wlc_key_state) -> bool>
)

Key event was triggered, view handle will be zero if there was no focus. Return true to prevent sending the event to clients.