initial commit

This commit is contained in:
NeilClack
2026-08-07 14:51:41 -05:00
commit 9251b3a196
604 changed files with 464448 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
// +build x11
package sdl
/*
#include <X11/Xlib.h>
*/
import "C"
import "unsafe"
// X11Msg contains X Window System window information.
type X11Msg struct {
Event C.XEvent
}
// X11() returns X Window System message.
func (msg *SysWMmsg) X11() *X11Msg {
return (*X11Msg)(unsafe.Pointer(&msg.data[0]))
}