Documentation ¶
Overview ¶
FILE GENERATED AUTOMATICALLY FROM "xfixes.xml"
Index ¶
- Constants
- func ChangeCursor(c *xgb.XConn, Source xproto.Cursor, Destination xproto.Cursor) error
- func ChangeCursorByName(c *xgb.XConn, Src xproto.Cursor, Nbytes uint16, Name string) error
- func ChangeCursorByNameUnchecked(c *xgb.XConn, Src xproto.Cursor, Nbytes uint16, Name string) error
- func ChangeCursorUnchecked(c *xgb.XConn, Source xproto.Cursor, Destination xproto.Cursor) error
- func ChangeSaveSet(c *xgb.XConn, Mode byte, Target byte, Map byte, Window xproto.Window) error
- func ChangeSaveSetUnchecked(c *xgb.XConn, Mode byte, Target byte, Map byte, Window xproto.Window) error
- func CopyRegion(c *xgb.XConn, Source Region, Destination Region) error
- func CopyRegionUnchecked(c *xgb.XConn, Source Region, Destination Region) error
- func CreatePointerBarrier(c *xgb.XConn, Barrier Barrier, Window xproto.Window, X1 uint16, Y1 uint16, ...) error
- func CreatePointerBarrierUnchecked(c *xgb.XConn, Barrier Barrier, Window xproto.Window, X1 uint16, Y1 uint16, ...) error
- func CreateRegion(c *xgb.XConn, Region Region, Rectangles []xproto.Rectangle) error
- func CreateRegionFromBitmap(c *xgb.XConn, Region Region, Bitmap xproto.Pixmap) error
- func CreateRegionFromBitmapUnchecked(c *xgb.XConn, Region Region, Bitmap xproto.Pixmap) error
- func CreateRegionFromGC(c *xgb.XConn, Region Region, Gc xproto.Gcontext) error
- func CreateRegionFromGCUnchecked(c *xgb.XConn, Region Region, Gc xproto.Gcontext) error
- func CreateRegionFromPicture(c *xgb.XConn, Region Region, Picture render.Picture) error
- func CreateRegionFromPictureUnchecked(c *xgb.XConn, Region Region, Picture render.Picture) error
- func CreateRegionFromWindow(c *xgb.XConn, Region Region, Window xproto.Window, Kind shape.Kind) error
- func CreateRegionFromWindowUnchecked(c *xgb.XConn, Region Region, Window xproto.Window, Kind shape.Kind) error
- func CreateRegionUnchecked(c *xgb.XConn, Region Region, Rectangles []xproto.Rectangle) error
- func DeletePointerBarrier(c *xgb.XConn, Barrier Barrier) error
- func DeletePointerBarrierUnchecked(c *xgb.XConn, Barrier Barrier) error
- func DestroyRegion(c *xgb.XConn, Region Region) error
- func DestroyRegionUnchecked(c *xgb.XConn, Region Region) error
- func ExpandRegion(c *xgb.XConn, Source Region, Destination Region, Left uint16, Right uint16, ...) error
- func ExpandRegionUnchecked(c *xgb.XConn, Source Region, Destination Region, Left uint16, Right uint16, ...) error
- func FetchRegionUnchecked(c *xgb.XConn, Region Region) error
- func GetClientDisconnectModeUnchecked(c *xgb.XConn) error
- func GetCursorImageAndNameUnchecked(c *xgb.XConn) error
- func GetCursorImageUnchecked(c *xgb.XConn) error
- func GetCursorNameUnchecked(c *xgb.XConn, Cursor xproto.Cursor) error
- func HideCursor(c *xgb.XConn, Window xproto.Window) error
- func HideCursorUnchecked(c *xgb.XConn, Window xproto.Window) error
- func IntersectRegion(c *xgb.XConn, Source1 Region, Source2 Region, Destination Region) error
- func IntersectRegionUnchecked(c *xgb.XConn, Source1 Region, Source2 Region, Destination Region) error
- func InvertRegion(c *xgb.XConn, Source Region, Bounds xproto.Rectangle, Destination Region) error
- func InvertRegionUnchecked(c *xgb.XConn, Source Region, Bounds xproto.Rectangle, Destination Region) error
- func QueryVersionUnchecked(c *xgb.XConn, ClientMajorVersion uint32, ClientMinorVersion uint32) error
- func RegionExtents(c *xgb.XConn, Source Region, Destination Region) error
- func RegionExtentsUnchecked(c *xgb.XConn, Source Region, Destination Region) error
- func Register(xconn *xgb.XConn) error
- func SelectCursorInput(c *xgb.XConn, Window xproto.Window, EventMask uint32) error
- func SelectCursorInputUnchecked(c *xgb.XConn, Window xproto.Window, EventMask uint32) error
- func SelectSelectionInput(c *xgb.XConn, Window xproto.Window, Selection xproto.Atom, EventMask uint32) error
- func SelectSelectionInputUnchecked(c *xgb.XConn, Window xproto.Window, Selection xproto.Atom, EventMask uint32) error
- func SetClientDisconnectMode(c *xgb.XConn, DisconnectMode uint32) error
- func SetClientDisconnectModeUnchecked(c *xgb.XConn, DisconnectMode uint32) error
- func SetCursorName(c *xgb.XConn, Cursor xproto.Cursor, Nbytes uint16, Name string) error
- func SetCursorNameUnchecked(c *xgb.XConn, Cursor xproto.Cursor, Nbytes uint16, Name string) error
- func SetGCClipRegion(c *xgb.XConn, Gc xproto.Gcontext, Region Region, XOrigin int16, YOrigin int16) error
- func SetGCClipRegionUnchecked(c *xgb.XConn, Gc xproto.Gcontext, Region Region, XOrigin int16, YOrigin int16) error
- func SetPictureClipRegion(c *xgb.XConn, Picture render.Picture, Region Region, XOrigin int16, ...) error
- func SetPictureClipRegionUnchecked(c *xgb.XConn, Picture render.Picture, Region Region, XOrigin int16, ...) error
- func SetRegion(c *xgb.XConn, Region Region, Rectangles []xproto.Rectangle) error
- func SetRegionUnchecked(c *xgb.XConn, Region Region, Rectangles []xproto.Rectangle) error
- func SetWindowShapeRegion(c *xgb.XConn, Dest xproto.Window, DestKind shape.Kind, XOffset int16, ...) error
- func SetWindowShapeRegionUnchecked(c *xgb.XConn, Dest xproto.Window, DestKind shape.Kind, XOffset int16, ...) error
- func ShowCursor(c *xgb.XConn, Window xproto.Window) error
- func ShowCursorUnchecked(c *xgb.XConn, Window xproto.Window) error
- func SubtractRegion(c *xgb.XConn, Source1 Region, Source2 Region, Destination Region) error
- func SubtractRegionUnchecked(c *xgb.XConn, Source1 Region, Source2 Region, Destination Region) error
- func TranslateRegion(c *xgb.XConn, Region Region, Dx int16, Dy int16) error
- func TranslateRegionUnchecked(c *xgb.XConn, Region Region, Dx int16, Dy int16) error
- func UnionRegion(c *xgb.XConn, Source1 Region, Source2 Region, Destination Region) error
- func UnionRegionUnchecked(c *xgb.XConn, Source1 Region, Source2 Region, Destination Region) error
- func UnmarshalBadRegionError(buf []byte) (xgb.XError, error)
- func UnmarshalCursorNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalSelectionNotifyEvent(buf []byte) (xgb.XEvent, error)
- type BadRegionError
- type Barrier
- type CursorNotifyEvent
- type FetchRegionReply
- type GetClientDisconnectModeReply
- type GetCursorImageAndNameReply
- type GetCursorImageReply
- type GetCursorNameReply
- type QueryVersionReply
- type Region
- type SelectionNotifyEvent
Constants ¶
const ( // ExtName is the user-friendly name string of this X extension. ExtName = "XFixes" // ExtXName is the name string this extension is known by to the X server. ExtXName = "XFIXES" )
const ( BarrierDirectionsPositiveX = 1 BarrierDirectionsPositiveY = 2 BarrierDirectionsNegativeX = 4 BarrierDirectionsNegativeY = 8 )
const ( ClientDisconnectFlagsDefault = 0 ClientDisconnectFlagsTerminate = 1 )
const ( SaveSetMappingMap = 0 SaveSetMappingUnmap = 1 )
const ( SaveSetModeInsert = 0 SaveSetModeDelete = 1 )
const ( SaveSetTargetNearest = 0 SaveSetTargetRoot = 1 )
const ( SelectionEventSetSelectionOwner = 0 SelectionEventSelectionWindowDestroy = 1 SelectionEventSelectionClientClose = 2 )
const ( SelectionEventMaskSetSelectionOwner = 1 SelectionEventMaskSelectionWindowDestroy = 2 SelectionEventMaskSelectionClientClose = 4 )
const BadBadRegion = 0
BadBadRegion is the error number for a BadBadRegion.
const CursorNotify = 1
CursorNotify is the event number for a CursorNotifyEvent.
const (
CursorNotifyDisplayCursor = 0
)
const (
CursorNotifyMaskDisplayCursor = 1
)
const (
RegionNone = 0
)
const SelectionNotify = 0
SelectionNotify is the event number for a SelectionNotifyEvent.
Variables ¶
This section is empty.
Functions ¶
func ChangeCursor ¶
ChangeCursor sends a checked request.
func ChangeCursorByName ¶
ChangeCursorByName sends a checked request.
func ChangeCursorByNameUnchecked ¶ added in v1.1.0
ChangeCursorByNameUnchecked sends an unchecked request.
func ChangeCursorUnchecked ¶ added in v1.1.0
ChangeCursorUnchecked sends an unchecked request.
func ChangeSaveSet ¶
ChangeSaveSet sends a checked request.
func ChangeSaveSetUnchecked ¶ added in v1.1.0
func ChangeSaveSetUnchecked(c *xgb.XConn, Mode byte, Target byte, Map byte, Window xproto.Window) error
ChangeSaveSetUnchecked sends an unchecked request.
func CopyRegion ¶
CopyRegion sends a checked request.
func CopyRegionUnchecked ¶ added in v1.1.0
CopyRegionUnchecked sends an unchecked request.
func CreatePointerBarrier ¶
func CreatePointerBarrier(c *xgb.XConn, Barrier Barrier, Window xproto.Window, X1 uint16, Y1 uint16, X2 uint16, Y2 uint16, Directions uint32, NumDevices uint16, Devices []uint16) error
CreatePointerBarrier sends a checked request.
func CreatePointerBarrierUnchecked ¶ added in v1.1.0
func CreatePointerBarrierUnchecked(c *xgb.XConn, Barrier Barrier, Window xproto.Window, X1 uint16, Y1 uint16, X2 uint16, Y2 uint16, Directions uint32, NumDevices uint16, Devices []uint16) error
CreatePointerBarrierUnchecked sends an unchecked request.
func CreateRegion ¶
CreateRegion sends a checked request.
func CreateRegionFromBitmap ¶
CreateRegionFromBitmap sends a checked request.
func CreateRegionFromBitmapUnchecked ¶ added in v1.1.0
CreateRegionFromBitmapUnchecked sends an unchecked request.
func CreateRegionFromGC ¶
CreateRegionFromGC sends a checked request.
func CreateRegionFromGCUnchecked ¶ added in v1.1.0
CreateRegionFromGCUnchecked sends an unchecked request.
func CreateRegionFromPicture ¶
CreateRegionFromPicture sends a checked request.
func CreateRegionFromPictureUnchecked ¶ added in v1.1.0
CreateRegionFromPictureUnchecked sends an unchecked request.
func CreateRegionFromWindow ¶
func CreateRegionFromWindow(c *xgb.XConn, Region Region, Window xproto.Window, Kind shape.Kind) error
CreateRegionFromWindow sends a checked request.
func CreateRegionFromWindowUnchecked ¶ added in v1.1.0
func CreateRegionFromWindowUnchecked(c *xgb.XConn, Region Region, Window xproto.Window, Kind shape.Kind) error
CreateRegionFromWindowUnchecked sends an unchecked request.
func CreateRegionUnchecked ¶ added in v1.1.0
CreateRegionUnchecked sends an unchecked request.
func DeletePointerBarrier ¶
DeletePointerBarrier sends a checked request.
func DeletePointerBarrierUnchecked ¶ added in v1.1.0
DeletePointerBarrierUnchecked sends an unchecked request.
func DestroyRegion ¶
DestroyRegion sends a checked request.
func DestroyRegionUnchecked ¶ added in v1.1.0
DestroyRegionUnchecked sends an unchecked request.
func ExpandRegion ¶
func ExpandRegion(c *xgb.XConn, Source Region, Destination Region, Left uint16, Right uint16, Top uint16, Bottom uint16) error
ExpandRegion sends a checked request.
func ExpandRegionUnchecked ¶ added in v1.1.0
func ExpandRegionUnchecked(c *xgb.XConn, Source Region, Destination Region, Left uint16, Right uint16, Top uint16, Bottom uint16) error
ExpandRegionUnchecked sends an unchecked request.
func FetchRegionUnchecked ¶
FetchRegionUnchecked sends an unchecked request.
func GetClientDisconnectModeUnchecked ¶ added in v1.1.0
func GetClientDisconnectModeUnchecked(c *xgb.XConn) error
GetClientDisconnectModeUnchecked sends an unchecked request.
func GetCursorImageAndNameUnchecked ¶
func GetCursorImageAndNameUnchecked(c *xgb.XConn) error
GetCursorImageAndNameUnchecked sends an unchecked request.
func GetCursorImageUnchecked ¶
func GetCursorImageUnchecked(c *xgb.XConn) error
GetCursorImageUnchecked sends an unchecked request.
func GetCursorNameUnchecked ¶
GetCursorNameUnchecked sends an unchecked request.
func HideCursor ¶
HideCursor sends a checked request.
func HideCursorUnchecked ¶ added in v1.1.0
HideCursorUnchecked sends an unchecked request.
func IntersectRegion ¶
IntersectRegion sends a checked request.
func IntersectRegionUnchecked ¶ added in v1.1.0
func IntersectRegionUnchecked(c *xgb.XConn, Source1 Region, Source2 Region, Destination Region) error
IntersectRegionUnchecked sends an unchecked request.
func InvertRegion ¶
InvertRegion sends a checked request.
func InvertRegionUnchecked ¶ added in v1.1.0
func InvertRegionUnchecked(c *xgb.XConn, Source Region, Bounds xproto.Rectangle, Destination Region) error
InvertRegionUnchecked sends an unchecked request.
func QueryVersionUnchecked ¶
func QueryVersionUnchecked(c *xgb.XConn, ClientMajorVersion uint32, ClientMinorVersion uint32) error
QueryVersionUnchecked sends an unchecked request.
func RegionExtents ¶
RegionExtents sends a checked request.
func RegionExtentsUnchecked ¶ added in v1.1.0
RegionExtentsUnchecked sends an unchecked request.
func Register ¶ added in v1.1.0
func Register(xconn *xgb.XConn) error
Register will query the X server for XFixes extension support, and register relevant extension unmarshalers with the XConn.
func SelectCursorInput ¶
SelectCursorInput sends a checked request.
func SelectCursorInputUnchecked ¶ added in v1.1.0
SelectCursorInputUnchecked sends an unchecked request.
func SelectSelectionInput ¶
func SelectSelectionInput(c *xgb.XConn, Window xproto.Window, Selection xproto.Atom, EventMask uint32) error
SelectSelectionInput sends a checked request.
func SelectSelectionInputUnchecked ¶ added in v1.1.0
func SelectSelectionInputUnchecked(c *xgb.XConn, Window xproto.Window, Selection xproto.Atom, EventMask uint32) error
SelectSelectionInputUnchecked sends an unchecked request.
func SetClientDisconnectMode ¶ added in v1.1.0
SetClientDisconnectMode sends a checked request.
func SetClientDisconnectModeUnchecked ¶ added in v1.1.0
SetClientDisconnectModeUnchecked sends an unchecked request.
func SetCursorName ¶
SetCursorName sends a checked request.
func SetCursorNameUnchecked ¶ added in v1.1.0
SetCursorNameUnchecked sends an unchecked request.
func SetGCClipRegion ¶
func SetGCClipRegion(c *xgb.XConn, Gc xproto.Gcontext, Region Region, XOrigin int16, YOrigin int16) error
SetGCClipRegion sends a checked request.
func SetGCClipRegionUnchecked ¶ added in v1.1.0
func SetGCClipRegionUnchecked(c *xgb.XConn, Gc xproto.Gcontext, Region Region, XOrigin int16, YOrigin int16) error
SetGCClipRegionUnchecked sends an unchecked request.
func SetPictureClipRegion ¶
func SetPictureClipRegion(c *xgb.XConn, Picture render.Picture, Region Region, XOrigin int16, YOrigin int16) error
SetPictureClipRegion sends a checked request.
func SetPictureClipRegionUnchecked ¶ added in v1.1.0
func SetPictureClipRegionUnchecked(c *xgb.XConn, Picture render.Picture, Region Region, XOrigin int16, YOrigin int16) error
SetPictureClipRegionUnchecked sends an unchecked request.
func SetRegionUnchecked ¶ added in v1.1.0
SetRegionUnchecked sends an unchecked request.
func SetWindowShapeRegion ¶
func SetWindowShapeRegion(c *xgb.XConn, Dest xproto.Window, DestKind shape.Kind, XOffset int16, YOffset int16, Region Region) error
SetWindowShapeRegion sends a checked request.
func SetWindowShapeRegionUnchecked ¶ added in v1.1.0
func SetWindowShapeRegionUnchecked(c *xgb.XConn, Dest xproto.Window, DestKind shape.Kind, XOffset int16, YOffset int16, Region Region) error
SetWindowShapeRegionUnchecked sends an unchecked request.
func ShowCursor ¶
ShowCursor sends a checked request.
func ShowCursorUnchecked ¶ added in v1.1.0
ShowCursorUnchecked sends an unchecked request.
func SubtractRegion ¶
SubtractRegion sends a checked request.
func SubtractRegionUnchecked ¶ added in v1.1.0
func SubtractRegionUnchecked(c *xgb.XConn, Source1 Region, Source2 Region, Destination Region) error
SubtractRegionUnchecked sends an unchecked request.
func TranslateRegion ¶
TranslateRegion sends a checked request.
func TranslateRegionUnchecked ¶ added in v1.1.0
TranslateRegionUnchecked sends an unchecked request.
func UnionRegion ¶
UnionRegion sends a checked request.
func UnionRegionUnchecked ¶ added in v1.1.0
UnionRegionUnchecked sends an unchecked request.
func UnmarshalBadRegionError ¶ added in v1.1.0
UnmarshalBadRegionError constructs a BadRegionError value that implements xgb.Error from a byte slice.
func UnmarshalCursorNotifyEvent ¶ added in v1.1.0
UnmarshalCursorNotifyEvent constructs a CursorNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalSelectionNotifyEvent ¶ added in v1.1.0
UnmarshalSelectionNotifyEvent constructs a SelectionNotifyEvent value that implements xgb.Event from a byte slice.
Types ¶
type BadRegionError ¶
func (*BadRegionError) BadID ¶ added in v1.1.0
func (err *BadRegionError) BadID() uint32
BadID returns the 'BadValue' number if one exists for the BadBadRegion error. If no bad value exists, 0 is returned.
func (*BadRegionError) Error ¶
func (err *BadRegionError) Error() string
Error returns a rudimentary string representation of the BadBadRegion error.
func (*BadRegionError) SeqID ¶ added in v1.1.0
func (err *BadRegionError) SeqID() uint16
SeqID returns the sequence id attached to the BadBadRegion error. This is mostly used internally.
type Barrier ¶
type Barrier uint32
func NewBarrierID ¶ added in v1.1.0
func NewBarrierID(c *xgb.XConn) Barrier
type CursorNotifyEvent ¶
type CursorNotifyEvent struct { Sequence uint16 Subtype byte Window xproto.Window CursorSerial uint32 Timestamp xproto.Timestamp Name xproto.Atom }
func (*CursorNotifyEvent) Bytes ¶
func (v *CursorNotifyEvent) Bytes() []byte
Bytes writes a CursorNotifyEvent value to a byte slice.
func (*CursorNotifyEvent) SeqID ¶ added in v1.1.0
func (v *CursorNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the CursorNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type FetchRegionReply ¶
type FetchRegionReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes Extents xproto.Rectangle // padding: 16 bytes Rectangles []xproto.Rectangle // size: internal.Pad4(((int(Length) / 2) * 8)) }
FetchRegionReply represents the data returned from a FetchRegion request.
func FetchRegion ¶
func FetchRegion(c *xgb.XConn, Region Region) (FetchRegionReply, error)
FetchRegion sends a checked request.
func (*FetchRegionReply) Unmarshal ¶ added in v1.1.0
func (v *FetchRegionReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a FetchRegionReply value.
type GetClientDisconnectModeReply ¶ added in v1.1.0
type GetClientDisconnectModeReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes DisconnectMode uint32 }
GetClientDisconnectModeReply represents the data returned from a GetClientDisconnectMode request.
func GetClientDisconnectMode ¶ added in v1.1.0
func GetClientDisconnectMode(c *xgb.XConn) (GetClientDisconnectModeReply, error)
GetClientDisconnectMode sends a checked request.
func (*GetClientDisconnectModeReply) Unmarshal ¶ added in v1.1.0
func (v *GetClientDisconnectModeReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetClientDisconnectModeReply value.
type GetCursorImageAndNameReply ¶
type GetCursorImageAndNameReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes X int16 Y int16 Width uint16 Height uint16 Xhot uint16 Yhot uint16 CursorSerial uint32 CursorAtom xproto.Atom Nbytes uint16 // padding: 2 bytes CursorImage []uint32 // size: internal.Pad4(((int(Width) * int(Height)) * 4)) Name string // size: internal.Pad4((int(Nbytes) * 1)) }
GetCursorImageAndNameReply represents the data returned from a GetCursorImageAndName request.
func GetCursorImageAndName ¶
func GetCursorImageAndName(c *xgb.XConn) (GetCursorImageAndNameReply, error)
GetCursorImageAndName sends a checked request.
func (*GetCursorImageAndNameReply) Unmarshal ¶ added in v1.1.0
func (v *GetCursorImageAndNameReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetCursorImageAndNameReply value.
type GetCursorImageReply ¶
type GetCursorImageReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes X int16 Y int16 Width uint16 Height uint16 Xhot uint16 Yhot uint16 CursorSerial uint32 // padding: 8 bytes CursorImage []uint32 // size: internal.Pad4(((int(Width) * int(Height)) * 4)) }
GetCursorImageReply represents the data returned from a GetCursorImage request.
func GetCursorImage ¶
func GetCursorImage(c *xgb.XConn) (GetCursorImageReply, error)
GetCursorImage sends a checked request.
func (*GetCursorImageReply) Unmarshal ¶ added in v1.1.0
func (v *GetCursorImageReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetCursorImageReply value.
type GetCursorNameReply ¶
type GetCursorNameReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes Atom xproto.Atom Nbytes uint16 // padding: 18 bytes Name string // size: internal.Pad4((int(Nbytes) * 1)) }
GetCursorNameReply represents the data returned from a GetCursorName request.
func GetCursorName ¶
func GetCursorName(c *xgb.XConn, Cursor xproto.Cursor) (GetCursorNameReply, error)
GetCursorName sends a checked request.
func (*GetCursorNameReply) Unmarshal ¶ added in v1.1.0
func (v *GetCursorNameReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetCursorNameReply value.
type QueryVersionReply ¶
type QueryVersionReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes MajorVersion uint32 MinorVersion uint32 }
QueryVersionReply represents the data returned from a QueryVersion request.
func QueryVersion ¶
func QueryVersion(c *xgb.XConn, ClientMajorVersion uint32, ClientMinorVersion uint32) (QueryVersionReply, error)
QueryVersion sends a checked request.
func (*QueryVersionReply) Unmarshal ¶ added in v1.1.0
func (v *QueryVersionReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a QueryVersionReply value.
type Region ¶
type Region uint32
func NewRegionID ¶ added in v1.1.0
func NewRegionID(c *xgb.XConn) Region
type SelectionNotifyEvent ¶
type SelectionNotifyEvent struct { Sequence uint16 Subtype byte Window xproto.Window Owner xproto.Window Selection xproto.Atom Timestamp xproto.Timestamp SelectionTimestamp xproto.Timestamp }
func (*SelectionNotifyEvent) Bytes ¶
func (v *SelectionNotifyEvent) Bytes() []byte
Bytes writes a SelectionNotifyEvent value to a byte slice.
func (*SelectionNotifyEvent) SeqID ¶ added in v1.1.0
func (v *SelectionNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the SelectionNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.