Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent duplicate inheritance for <eventcopy> #16

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions xcb-xinput.el
Original file line number Diff line number Diff line change
Expand Up @@ -2174,19 +2174,19 @@
(device-id :initarg :device-id :type xcb:CARD8)))

(defclass xcb:xinput:DeviceKeyRelease
(xcb:-event xcb:xinput:DeviceKeyPress)
(xcb:xinput:DeviceKeyPress)
((~code :initform 2)))

(defclass xcb:xinput:DeviceButtonPress
(xcb:-event xcb:xinput:DeviceKeyPress)
(xcb:xinput:DeviceKeyPress)
((~code :initform 3)))

(defclass xcb:xinput:DeviceButtonRelease
(xcb:-event xcb:xinput:DeviceKeyPress)
(xcb:xinput:DeviceKeyPress)
((~code :initform 4)))

(defclass xcb:xinput:DeviceMotionNotify
(xcb:-event xcb:xinput:DeviceKeyPress)
(xcb:xinput:DeviceKeyPress)
((~code :initform 5)))

(defclass xcb:xinput:DeviceFocusIn
Expand All @@ -2201,15 +2201,15 @@
(pad~0 :initform 18 :type xcb:-pad)))

(defclass xcb:xinput:DeviceFocusOut
(xcb:-event xcb:xinput:DeviceFocusIn)
(xcb:xinput:DeviceFocusIn)
((~code :initform 7)))

(defclass xcb:xinput:ProximityIn
(xcb:-event xcb:xinput:DeviceKeyPress)
(xcb:xinput:DeviceKeyPress)
((~code :initform 8)))

(defclass xcb:xinput:ProximityOut
(xcb:-event xcb:xinput:DeviceKeyPress)
(xcb:xinput:DeviceKeyPress)
((~code :initform 9)))

(defconst xcb:xinput:ClassesReportedMask:OutOfProximity 128)
Expand Down Expand Up @@ -2380,7 +2380,7 @@
(axisvalues :initarg :axisvalues :type xcb:-ignore)))

(defclass xcb:xinput:KeyRelease
(xcb:-event xcb:xinput:KeyPress)
(xcb:xinput:KeyPress)
((~evtype :initform 3)))

(defconst xcb:xinput:PointerEventFlags:PointerEmulated 65536)
Expand Down Expand Up @@ -2432,11 +2432,11 @@
(axisvalues :initarg :axisvalues :type xcb:-ignore)))

(defclass xcb:xinput:ButtonRelease
(xcb:-event xcb:xinput:ButtonPress)
(xcb:xinput:ButtonPress)
((~evtype :initform 5)))

(defclass xcb:xinput:Motion
(xcb:-event xcb:xinput:ButtonPress)
(xcb:xinput:ButtonPress)
((~evtype :initform 6)))

(defconst xcb:xinput:NotifyMode:Normal 0)
Expand Down Expand Up @@ -2482,15 +2482,15 @@
(buttons :initarg :buttons :type xcb:-ignore)))

(defclass xcb:xinput:Leave
(xcb:-event xcb:xinput:Enter)
(xcb:xinput:Enter)
((~evtype :initform 8)))

(defclass xcb:xinput:FocusIn
(xcb:-event xcb:xinput:Enter)
(xcb:xinput:Enter)
((~evtype :initform 9)))

(defclass xcb:xinput:FocusOut
(xcb:-event xcb:xinput:Enter)
(xcb:xinput:Enter)
((~evtype :initform 10)))

(defconst xcb:xinput:HierarchyMask:MasterAdded 1)
Expand Down Expand Up @@ -2585,7 +2585,7 @@
(axisvalues-raw :initarg :axisvalues-raw :type xcb:-ignore)))

(defclass xcb:xinput:RawKeyRelease
(xcb:-event xcb:xinput:RawKeyPress)
(xcb:xinput:RawKeyPress)
((~evtype :initform 14)))

(defclass xcb:xinput:RawButtonPress
Expand Down Expand Up @@ -2635,11 +2635,11 @@
(axisvalues-raw :initarg :axisvalues-raw :type xcb:-ignore)))

(defclass xcb:xinput:RawButtonRelease
(xcb:-event xcb:xinput:RawButtonPress)
(xcb:xinput:RawButtonPress)
((~evtype :initform 16)))

(defclass xcb:xinput:RawMotion
(xcb:-event xcb:xinput:RawButtonPress)
(xcb:xinput:RawButtonPress)
((~evtype :initform 17)))

(defconst xcb:xinput:TouchEventFlags:TouchPendingEnd 65536)
Expand Down Expand Up @@ -2692,11 +2692,11 @@
(axisvalues :initarg :axisvalues :type xcb:-ignore)))

(defclass xcb:xinput:TouchUpdate
(xcb:-event xcb:xinput:TouchBegin)
(xcb:xinput:TouchBegin)
((~evtype :initform 19)))

(defclass xcb:xinput:TouchEnd
(xcb:-event xcb:xinput:TouchBegin)
(xcb:xinput:TouchBegin)
((~evtype :initform 20)))

(defconst xcb:xinput:TouchOwnershipFlags:None 0)
Expand Down Expand Up @@ -2762,11 +2762,11 @@
(axisvalues-raw :initarg :axisvalues-raw :type xcb:-ignore)))

(defclass xcb:xinput:RawTouchUpdate
(xcb:-event xcb:xinput:RawTouchBegin)
(xcb:xinput:RawTouchBegin)
((~evtype :initform 23)))

(defclass xcb:xinput:RawTouchEnd
(xcb:-event xcb:xinput:RawTouchBegin)
(xcb:xinput:RawTouchBegin)
((~evtype :initform 24)))

(defconst xcb:xinput:BarrierFlags:PointerReleased 1)
Expand All @@ -2791,7 +2791,7 @@
(dy :initarg :dy :type xcb:xinput:FP3232)))

(defclass xcb:xinput:BarrierLeave
(xcb:-event xcb:xinput:BarrierHit)
(xcb:xinput:BarrierHit)
((~evtype :initform 26)))

(defconst xcb:xinput:GesturePinchEventFlags:GesturePinchCancelled 1)
Expand Down Expand Up @@ -2822,11 +2822,11 @@
(flags :initarg :flags :type xcb:CARD32)))

(defclass xcb:xinput:GesturePinchUpdate
(xcb:-event xcb:xinput:GesturePinchBegin)
(xcb:xinput:GesturePinchBegin)
((~evtype :initform 28)))

(defclass xcb:xinput:GesturePinchEnd
(xcb:-event xcb:xinput:GesturePinchBegin)
(xcb:xinput:GesturePinchBegin)
((~evtype :initform 29)))

(defconst xcb:xinput:GestureSwipeEventFlags:GestureSwipeCancelled 1)
Expand Down Expand Up @@ -2855,11 +2855,11 @@
(flags :initarg :flags :type xcb:CARD32)))

(defclass xcb:xinput:GestureSwipeUpdate
(xcb:-event xcb:xinput:GestureSwipeBegin)
(xcb:xinput:GestureSwipeBegin)
((~evtype :initform 31)))

(defclass xcb:xinput:GestureSwipeEnd
(xcb:-event xcb:xinput:GestureSwipeBegin)
(xcb:xinput:GestureSwipeBegin)
((~evtype :initform 32)))

(defclass xcb:xinput:EventForSend
Expand Down
10 changes: 5 additions & 5 deletions xcb-xproto.el
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@
(pad~0 :initform 1 :type xcb:-pad)))

(defclass xcb:KeyRelease
(xcb:-event xcb:KeyPress)
(xcb:KeyPress)
((~code :initform 3)))

(defconst xcb:ButtonMask:1 256)
Expand Down Expand Up @@ -338,7 +338,7 @@
(pad~0 :initform 1 :type xcb:-pad)))

(defclass xcb:ButtonRelease
(xcb:-event xcb:ButtonPress)
(xcb:ButtonPress)
((~code :initform 5)))

(defconst xcb:Motion:Normal 0)
Expand Down Expand Up @@ -393,7 +393,7 @@
(same-screen-focus :initarg :same-screen-focus :type xcb:BYTE)))

(defclass xcb:LeaveNotify
(xcb:-event xcb:EnterNotify)
(xcb:EnterNotify)
((~code :initform 8)))

(defclass xcb:FocusIn
Expand All @@ -406,7 +406,7 @@
(pad~0 :initform 3 :type xcb:-pad)))

(defclass xcb:FocusOut
(xcb:-event xcb:FocusIn)
(xcb:FocusIn)
((~code :initform 10)))

(defclass xcb:KeymapNotify
Expand Down Expand Up @@ -597,7 +597,7 @@
(pad~2 :initform 3 :type xcb:-pad)))

(defclass xcb:CirculateRequest
(xcb:-event xcb:CirculateNotify)
(xcb:CirculateNotify)
((~code :initform 27)))

(defconst xcb:Property:NewValue 0)
Expand Down
2 changes: 1 addition & 1 deletion xelb-gen
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ The `combine-adjacent' attribute is simply ignored."
(nconc xelb-xge-alist `((,event-number . ,name))))
(setq xelb-event-alist
(nconc xelb-event-alist `((,event-number . ,name)))))
`((defclass ,name (xcb:-event ,refname) ;Shadow the method of ref.
`((defclass ,name (,refname) ;Shadow the method of ref.
((,(if xge '~evtype '~code) :initform ,event-number))))))

(defun xelb-parse-errorcopy (node)
Expand Down