Lines Matching refs:XEventEnum
126 fn as_enum(&self, shm_complete_type: u32) -> XEventEnum { in as_enum() argument
128 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
352 XEventEnum::KeyEvent(key) => { in handle_event()
361 XEventEnum::ButtonEvent { in handle_event()
376 XEventEnum::Motion(motion) => { in handle_event()
386 XEventEnum::Expose => self.draw_buffer(self.current_buffer()), in handle_event()
387 XEventEnum::ClientMessage(xclient_data) => { in handle_event()
392 XEventEnum::ShmCompletionEvent(shmseg) => { in handle_event()
402 XEventEnum::Unhandled => {} in handle_event()