mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 12:18:15 +00:00
[vendor/x11]: Fix definition for EventType
This commit is contained in:
Vendored
+39
-2
@@ -68,8 +68,8 @@ BackingStore :: enum i32 {
|
|||||||
Always = 2,
|
Always = 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
EventMask :: bit_set[EventType; int]
|
EventMask :: bit_set[EventMaskBits; int]
|
||||||
EventType :: enum i32 {
|
EventMaskBits :: enum i32 {
|
||||||
KeyPress = 0,
|
KeyPress = 0,
|
||||||
KeyRelease = 1,
|
KeyRelease = 1,
|
||||||
ButtonPress = 2,
|
ButtonPress = 2,
|
||||||
@@ -97,6 +97,43 @@ EventType :: enum i32 {
|
|||||||
OwnerGrabButton = 24,
|
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]
|
InputMask :: bit_set[InputMaskBits; i32]
|
||||||
InputMaskBits :: enum {
|
InputMaskBits :: enum {
|
||||||
ShiftMask = 0,
|
ShiftMask = 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user