xsync

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT, MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package xsync is the part of the X SYNC extension _NET_WM_SYNC_REQUEST needs: counters and alarms. jezek/xgb does not generate this extension.

Index

Constants

View Source
const AlarmDestroyed = 2

Variables

This section is empty.

Functions

func ChangeAlarm

func ChangeAlarm(c *xgb.Conn, id Alarm, value uint64)

func CreateAlarm

func CreateAlarm(c *xgb.Conn, id Alarm, counter Counter, value uint64)

func CreateCounter

func CreateCounter(c *xgb.Conn, id Counter, value uint64)

func DestroyAlarm

func DestroyAlarm(c *xgb.Conn, id Alarm)

func Init

func Init(c *xgb.Conn) error

func SetCounter

func SetCounter(c *xgb.Conn, id Counter, value uint64)

Types

type Alarm

type Alarm uint32

type AlarmNotify

type AlarmNotify struct {
	Sequence uint16
	Alarm    Alarm
	Value    uint64
	State    byte
}

func (AlarmNotify) Bytes

func (e AlarmNotify) Bytes() []byte

func (AlarmNotify) String

func (e AlarmNotify) String() string

type Counter

type Counter uint32

type Error

type Error struct {
	Sequence uint16
	Bad      uint32
	Kind     string
}

func (Error) BadId

func (e Error) BadId() uint32

func (Error) Error

func (e Error) Error() string

func (Error) SequenceId

func (e Error) SequenceId() uint16

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL