x11: wrap libxcb ChangeHosts request

Even though many pure Go libxcb implementations exist, it is at least as complex and unreadable as libxcb, if not more. Since well known libraries like SDL, qt and gtk uses libxcb, and they somehow understand how to use it, I can only assume these people have read enough code to make sure it's correct enough. Call it wishful thinking. I don't care anymore.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
2024-07-14 18:31:53 +09:00
parent 65c02b540d
commit 518fd54ff3
2 changed files with 72 additions and 1 deletions

1
acl.go
View File

@@ -1,6 +1,5 @@
package main
import "C"
import (
"errors"
"fmt"