Struct redwm::imports::QueryPointerRequest [−][src]
pub struct QueryPointerRequest { pub window: u32, }
Expand description
get pointer coordinates.
Gets the root window the pointer is logically on and the pointer coordinates relative to the root window’s origin.
Fields
window
- A window to check if the pointer is on the same screen aswindow
(see thesame_screen
field in the reply).
Errors
Window
- The specifiedwindow
does not exist.
Fields
window: u32
Implementations
pub fn send<Conn>(
self,
conn: &Conn
) -> Result<Cookie<'_, Conn, QueryPointerReply>, ConnectionError> where
Conn: RequestConnection + ?Sized,
pub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<QueryPointerRequest, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<QueryPointerRequest, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Reply = QueryPointerReply
type Reply = QueryPointerReply
The kind of reply that this request generates.
Auto Trait Implementations
impl RefUnwindSafe for QueryPointerRequest
impl Send for QueryPointerRequest
impl Sync for QueryPointerRequest
impl Unpin for QueryPointerRequest
impl UnwindSafe for QueryPointerRequest
Blanket Implementations
Mutably borrows from an owned value. Read more