diff options
| author | woofdoggo <[email protected]> | 2022-04-30 16:58:37 -0400 |
|---|---|---|
| committer | woofdoggo <[email protected]> | 2022-04-30 16:58:37 -0400 |
| commit | 500d3701979d754212493ad266fa835c5aa4d857 (patch) | |
| tree | 8095023d44a3cf95b5d186d5de9e077b35b485b7 /xproto/xproto.go | |
| parent | 1a769cc4d63208e12d530d1534f823fb52acd3b9 (diff) | |
Regenerate bindings
Diffstat (limited to 'xproto/xproto.go')
| -rw-r--r-- | xproto/xproto.go | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/xproto/xproto.go b/xproto/xproto.go index 8d7e51b..e6b2c6b 100644 --- a/xproto/xproto.go +++ b/xproto/xproto.go @@ -526,7 +526,9 @@ func ButtonReleaseEventNew(buf []byte) xgb.Event { // Bytes writes a ButtonReleaseEvent value to a byte slice. func (v ButtonReleaseEvent) Bytes() []byte { - return ButtonPressEvent(v).Bytes() + buf := ButtonPressEvent(v).Bytes() + buf[0] = 5 + return buf } // SequenceId returns the sequence id attached to the ButtonRelease event. @@ -806,7 +808,9 @@ func CirculateRequestEventNew(buf []byte) xgb.Event { // Bytes writes a CirculateRequestEvent value to a byte slice. func (v CirculateRequestEvent) Bytes() []byte { - return CirculateNotifyEvent(v).Bytes() + buf := CirculateNotifyEvent(v).Bytes() + buf[0] = 27 + return buf } // SequenceId returns the sequence id attached to the CirculateRequest event. @@ -2441,7 +2445,9 @@ func FocusOutEventNew(buf []byte) xgb.Event { // Bytes writes a FocusOutEvent value to a byte slice. func (v FocusOutEvent) Bytes() []byte { - return FocusInEvent(v).Bytes() + buf := FocusInEvent(v).Bytes() + buf[0] = 10 + return buf } // SequenceId returns the sequence id attached to the FocusOut event. @@ -3412,7 +3418,9 @@ func KeyReleaseEventNew(buf []byte) xgb.Event { // Bytes writes a KeyReleaseEvent value to a byte slice. func (v KeyReleaseEvent) Bytes() []byte { - return KeyPressEvent(v).Bytes() + buf := KeyPressEvent(v).Bytes() + buf[0] = 3 + return buf } // SequenceId returns the sequence id attached to the KeyRelease event. @@ -3514,7 +3522,9 @@ func LeaveNotifyEventNew(buf []byte) xgb.Event { // Bytes writes a LeaveNotifyEvent value to a byte slice. func (v LeaveNotifyEvent) Bytes() []byte { - return EnterNotifyEvent(v).Bytes() + buf := EnterNotifyEvent(v).Bytes() + buf[0] = 8 + return buf } // SequenceId returns the sequence id attached to the LeaveNotify event. |
