Files
radiantwave/archive/vendor/github.com/veandco/go-sdl2/sdl/syswm_x11.go
T
2026-08-07 14:51:41 -05:00

20 lines
308 B
Go

// +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]))
}