GitShow/BurntSushi/xgb
BurntSushi

xgb

The X Go Binding is a low-level API to communicate with the X server. It is modeled on XCB and supports many X extensions.

by BurntSushi
Star on GitHubFork

Go

517 stars75 forks12 contributorsQuiet · 4y agoSince 2012

Meet the team

See all 12 on GitHub →
BurntSushi
BurntSushi26 contributions
aarzilli
aarzilli4 contributions
snyh
snyh2 contributions
andydotxyz
andydotxyz1 contribution
Merovius
Merovius1 contribution
bmatsuo
bmatsuo1 contribution
jvoljvolizka
jvoljvolizka1 contribution
tones111
tones1111 contribution

Languages

View on GitHub →
Go99.8%
Makefile0.2%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 6 in progress · Last activity 4y ago
See all on GitHub →
unxed
support versatile groups (kb layouts)OpenIssue

...or if they are already supported, please point me to correct way of using them. All my tries to get typed unicode char if non-latin kb layout is selected failed.

unxed · 4mo ago
XieJiSS
Create go.modOpenPR

Without a , the build fails with error: Note that since go 1.16, the command will build packages in module-aware mode by default, see: https://go.dev/blog/go116-module-changes#modules-on-by-default

XieJiSS · 2y ago
misak113
Mz fixesOpenPR

I prepared some small changes which prevent some edge cases of XGB usage. I can reproduce the panic errors on Xvfb connections when Xvfb is killed externally. These changes will keep Go app alive just with a closed X server connection. There are still some questions on running go routines in BG (see new TODO comments). I'm free to discuss changes and update PR.

misak113 · 5y ago

Recent fixes

View closed PRs →
ghost
getting screen rgba value.ClosedIssue

can you provide some documentation on using the GetImage function. I want to be able to capture the state of the screen and get a rgba value.

ghost · 2y ago
jezek
Server side connection close panic fixMergedPR

Rewrite spawning of go routines upon new connection, so we can signal them and wait for them on connection close. This fixes e.g. a panic in window example after window close: to

jezek · 5y ago
jezek
TestsMergedPR

xgb.Conn sync requests & response tests, with goroutine leaking tests. Contains some tests, that prove some errors refered in #44. Note: the last test "unexpected conn close" panics and ends tests without showing previous results. You have to comment it out to see results of previous tests. Contains testing tools: leakage monitor + tests universal dummy net.Conn server + tests dummy X server replier for dumm net.Conn + tests What needs to be done: xgb.Conn async requests/responses more elaborate leakage monitor tests (probably not needed now)

jezek · 5y ago
Structured data for AI agents

Repository: BurntSushi/xgb. Description: The X Go Binding is a low-level API to communicate with the X server. It is modeled on XCB and supports many X extensions. Stars: 517, Forks: 75. Primary language: Go. Languages: Go (99.8%), Makefile (0.2%). Open PRs: 6, open issues: 19. Last activity: 4y ago. Community health: 42%. Top contributors: BurntSushi, aarzilli, snyh, andydotxyz, Merovius, bmatsuo, jvoljvolizka, tones111, vitkyrka, harryfei.

·@ofershap

Replace github.com with gitshow.dev