Struct x11rb_protocol::protocol::xproto::AllowEventsRequest
source · pub struct AllowEventsRequest {
pub mode: Allow,
pub time: Timestamp,
}
Expand description
release queued events.
Releases queued events if the client has caused a device (pointer/keyboard) to
freeze due to grabbing it actively. This request has no effect if time
is
earlier than the last-grab time of the most recent active grab for this client
or if time
is later than the current X server time.
§Fields
mode
-time
- Timestamp to avoid race conditions when running X over the network.
The special value XCB_CURRENT_TIME
will be replaced with the current server
time.
§Errors
Value
- You specified an invalidmode
.
Fields§
§mode: Allow
§time: Timestamp
Implementations§
Trait Implementations§
source§impl Clone for AllowEventsRequest
impl Clone for AllowEventsRequest
source§fn clone(&self) -> AllowEventsRequest
fn clone(&self) -> AllowEventsRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AllowEventsRequest
impl Debug for AllowEventsRequest
source§impl Default for AllowEventsRequest
impl Default for AllowEventsRequest
source§fn default() -> AllowEventsRequest
fn default() -> AllowEventsRequest
Returns the “default value” for a type. Read more
source§impl Request for AllowEventsRequest
impl Request for AllowEventsRequest
impl Copy for AllowEventsRequest
impl VoidRequest for AllowEventsRequest
Auto Trait Implementations§
impl Freeze for AllowEventsRequest
impl RefUnwindSafe for AllowEventsRequest
impl Send for AllowEventsRequest
impl Sync for AllowEventsRequest
impl Unpin for AllowEventsRequest
impl UnwindSafe for AllowEventsRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more