No description
  • Go 99.9%
  • Makefile 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Baumann 18e87b5bba
Releasing fastforward version 1.3.1-1~ffwd13+u1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2026-07-08 17:47:35 +02:00
bigreq Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
composite Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
damage Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
debian Releasing fastforward version 1.3.1-1~ffwd13+u1. 2026-07-08 17:47:35 +02:00
dpms Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
dri2 Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
examples Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
ge Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
glx Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
randr Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
record Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
render Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
res Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
screensaver Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
shape Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
shm Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xcmisc Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xevie Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xf86dri Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xf86vidmode Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xfixes Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xgbgen Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xinerama Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xprint Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xproto Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xselinux Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xtest Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xv Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xvmc Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
.gitignore Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
auth.go Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
AUTHORS Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
conn.go Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
CONTRIBUTORS Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
cookie.go Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
doc.go Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
go.mod Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
help.go Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
LICENSE Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
Makefile Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
README Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
STYLE Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
sync.go Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
testing_helpers_test.go Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xgb.go Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00
xgb_test.go Adding upstream version 1.3.1. 2026-07-08 17:47:21 +02:00

XGB is the X Go Binding, which is a low-level API to communicate with the
core X protocol and many of the X extensions. It is closely modeled after
XCB and xpyb.

It is thread safe and gets immediate improvement from parallelism when
GOMAXPROCS > 1. (See the benchmarks in xproto/xproto_test.go for evidence.)

Please see doc.go for more info.

Note that unless you know you need XGB, you can probably make your life
easier by using a slightly higher level library: xgbutil.

This is a fork of github.com/BurntSushi/xgb

Quick Usage
===========
go get github.com/jezek/xgb
go run go/path/src/github.com/jezek/xgb/examples/create-window/main.go

jezek's Fork
============
I've forked the XGB repository from BurntSushi's github to apply some
patches which caused panics and memory leaks upon close and tests were added,
to test multiple server close scenarios.

BurntSushi's Fork
=================
I've forked the XGB repository from Google Code due to inactivty upstream.

Godoc documentation can be found here:
https://godoc.org/github.com/BurntSushi/xgb

Much of the code has been rewritten in an effort to support thread safety
and multiple extensions. Namely, go_client.py has been thrown away in favor
of an xgbgen package.

The biggest parts that *haven't* been rewritten by me are the connection and
authentication handshakes. They're inherently messy, and there's really no
reason to re-work them. The rest of XGB has been completely rewritten.

I like to release my code under the WTFPL, but since I'm starting with someone
else's work, I'm leaving the original license/contributor/author information
in tact.

I suppose I can legitimately release xgbgen under the WTFPL. To be fair, it is
at least as complex as XGB itself. *sigh*

What follows is the original README:

XGB README
==========
XGB is the X protocol Go language Binding.

It is the Go equivalent of XCB, the X protocol C-language Binding
(http://xcb.freedesktop.org/).

Unless otherwise noted, the XGB source files are distributed
under the BSD-style license found in the LICENSE file.

Contributions should follow the same procedure as for the Go project:
http://golang.org/doc/contribute.html