EventMap
alias EventMap =
AliasSeq!(
Mapping!(
ButtonPressMask,
ButtonPress,
XButtonPressedEvent, "xbutton"),
Mapping!(
ButtonReleaseMask,
ButtonRelease,
XButtonReleasedEvent, "xbutton"),
Mapping!(
ColormapChangeMask,
ColormapNotify,
XColormapEvent, "xcolormap"),
Mapping!(
EnterWindowMask,
EnterNotify,
XEnterWindowEvent, "xcrossing"),
Mapping!(
LeaveWindowMask,
LeaveNotify,
XLeaveWindowEvent, "xcrossing"),
Mapping!(
ExposureMask,
Expose,
XExposeEvent, "xexpose"),
Mapping!(
GCGraphicsExposures,
GraphicsExpose,
XGraphicsExposeEvent, "xgraphicsexpose"),
Mapping!(
GCGraphicsExposures,
NoExpose,
XNoExposeEvent, "xnoexpose"),
Mapping!(
FocusChangeMask,
FocusIn,
XFocusInEvent, "xfocus"),
Mapping!(
FocusChangeMask,
FocusOut,
XFocusOutEvent, "xfocus"),
Mapping!(
KeymapStateMask,
KeymapNotify,
XKeymapEvent, "xkeymap"),
Mapping!(
KeyPressMask,
KeyPress,
XKeyPressedEvent, "xkey"),
Mapping!(
KeyReleaseMask,
KeyRelease,
XKeyReleasedEvent, "xkey"),
Mapping!(
PointerMotionMask,
MotionNotify,
XPointerMovedEvent, "xmotion"),
Mapping!(
PropertyChangeMask,
PropertyNotify,
XPropertyEvent, "xproperty"),
Mapping!(
ResizeRedirectMask,
ResizeRequest,
XResizeRequestEvent, "xresizerequest"),
Mapping!(
StructureNotifyMask,
CirculateNotify,
XCirculateEvent, "xcirculate"),
Mapping!(
StructureNotifyMask,
ConfigureNotify,
XConfigureEvent, "xconfigure"),
Mapping!(
StructureNotifyMask,
DestroyNotify,
XDestroyWindowEvent, "xdestroywindow"),
Mapping!(
StructureNotifyMask,
GravityNotify,
XGravityEvent, "xgravity"),
Mapping!(
StructureNotifyMask,
MapNotify,
XMapEvent, "xmap"),
Mapping!(
StructureNotifyMask,
ReparentNotify,
XReparentEvent, "xreparent"),
Mapping!(
StructureNotifyMask,
UnmapNotify,
XUnmapEvent, "xunmap"),
Mapping!(
SubstructureNotifyMask,
CirculateNotify,
XCirculateEvent, "xcirculate"),
Mapping!(
SubstructureNotifyMask,
ConfigureNotify,
XConfigureEvent, "xconfigure"),
Mapping!(
SubstructureNotifyMask,
CreateNotify,
XCreateWindowEvent, "xcreatewindow"),
Mapping!(
SubstructureNotifyMask,
GravityNotify,
XGravityEvent, "xgravity"),
Mapping!(
SubstructureNotifyMask,
MapNotify,
XMapEvent, "xmap"),
Mapping!(
SubstructureNotifyMask,
ReparentNotify,
XReparentEvent, "xreparent"),
Mapping!(
SubstructureNotifyMask,
UnmapNotify,
XUnmapEvent, "xunmap"),
Mapping!(
SubstructureRedirectMask,
CirculateRequest,
XCirculateRequestEvent, "xcirculaterequest"),
Mapping!(
SubstructureRedirectMask,
ConfigureRequest,
XConfigureRequestEvent, "xconfigurerequest"),
Mapping!(
SubstructureRedirectMask,
MapRequest,
XMapRequestEvent, "xmaprequest"),
Mapping!(
None,
ClientMessage,
XClientMessageEvent, "xclient"),
Mapping!(
None,
MappingNotify,
XMappingEvent, "xmapping"),
Mapping!(
None,
SelectionClear,
XSelectionClearEvent, "xselectionclear"),
Mapping!(
None,
SelectionNotify,
XSelectionEvent, "xselection"),
Mapping!(
None,
SelectionRequest,
XSelectionRequestEvent, "xselectionrequest"),
Mapping!(
VisibilityChangeMask,
VisibilityNotify,
XVisibilityEvent, "xvisibility"))
ws wm x11 wm
aliasesclasses