mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-02 19:22:33 +00:00
[vendor/x11]: Fix definition for EventType
This commit is contained in:
41
vendor/x11/xlib/xlib_const.odin
vendored
41
vendor/x11/xlib/xlib_const.odin
vendored
@@ -68,8 +68,8 @@ BackingStore :: enum i32 {
|
||||
Always = 2,
|
||||
}
|
||||
|
||||
EventMask :: bit_set[EventType; int]
|
||||
EventType :: enum i32 {
|
||||
EventMask :: bit_set[EventMaskBits; int]
|
||||
EventMaskBits :: enum i32 {
|
||||
KeyPress = 0,
|
||||
KeyRelease = 1,
|
||||
ButtonPress = 2,
|
||||
@@ -97,6 +97,43 @@ EventType :: enum i32 {
|
||||
OwnerGrabButton = 24,
|
||||
}
|
||||
|
||||
EventType :: enum i32 {
|
||||
KeyPress = 2,
|
||||
KeyRelease = 3,
|
||||
ButtonPress = 4,
|
||||
ButtonRelease = 5,
|
||||
MotionNotify = 6,
|
||||
EnterNotify = 7,
|
||||
LeaveNotify = 8,
|
||||
FocusIn = 9,
|
||||
FocusOut = 10,
|
||||
KeymapNotify = 11,
|
||||
Expose = 12,
|
||||
GraphicsExpose = 13,
|
||||
NoExpose = 14,
|
||||
VisibilityNotify = 15,
|
||||
CreateNotify = 16,
|
||||
DestroyNotify = 17,
|
||||
UnmapNotify = 18,
|
||||
MapNotify = 19,
|
||||
MapRequest = 20,
|
||||
ReparentNotify = 21,
|
||||
ConfigureNotify = 22,
|
||||
ConfigureRequest = 23,
|
||||
GravityNotify = 24,
|
||||
ResizeRequest = 25,
|
||||
CirculateNotify = 26,
|
||||
CirculateRequest = 27,
|
||||
PropertyNotify = 28,
|
||||
SelectionClear = 29,
|
||||
SelectionRequest = 30,
|
||||
SelectionNotify = 31,
|
||||
ColormapNotify = 32,
|
||||
ClientMessage = 33,
|
||||
MappingNotify = 34,
|
||||
GenericEvent = 35,
|
||||
}
|
||||
|
||||
InputMask :: bit_set[InputMaskBits; i32]
|
||||
InputMaskBits :: enum {
|
||||
ShiftMask = 0,
|
||||
|
||||
Reference in New Issue
Block a user