Searched refs:XEventEnum (Results 1 – 1 of 1) sorted by relevance
126 fn as_enum(&self, shm_complete_type: u32) -> XEventEnum { in as_enum() argument128 xlib::KeyPress | xlib::KeyRelease => XEventEnum::KeyEvent(unsafe { self.0.xkey }), in as_enum()129 xlib::ButtonPress => XEventEnum::ButtonEvent { in as_enum()133 xlib::ButtonRelease => XEventEnum::ButtonEvent { in as_enum()137 xlib::MotionNotify => XEventEnum::Motion(unsafe { self.0.xmotion }), in as_enum()138 xlib::Expose => XEventEnum::Expose, in as_enum()140 XEventEnum::ClientMessage(unsafe { self.0.xclient.data.l[0] as u64 }) in as_enum()147 XEventEnum::ShmCompletionEvent(ev_completion.shmseg) in as_enum()149 _ => XEventEnum::Unhandled, in as_enum()154 enum XEventEnum { enum[all …]