You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* all: add OpenBSD (X11) support
OpenBSD ships the same X11/Xlib API as Linux, so the existing X11
backend works there with the right cgo include/lib paths
(/usr/X11R6). Rename hotkey_linux.* to hotkey_x11.* because the
_linux filename suffix carries an implicit linux-only build
constraint that a //go:build line cannot widen, then extend the
constraints to "linux || openbsd". Also widen mainthread/os.go so
mainthread.Init/Call are available on OpenBSD.
Adapted from #32 by Simon Dassow (@sdassow).
* ci: add OpenBSD VM job exercising the X11 cgo build
The CGO_ENABLED=0 cross-build only compiles the nocgo stub for
openbsd. Add a vmactions OpenBSD VM that builds and vets with cgo
enabled, validating the X11 backend's openbsd cgo flags (/usr/X11R6)
and link against libX11.
0 commit comments