app/internal/wm: implement ViewEvent for X11

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
Chris Waldon
2021-08-19 14:10:21 -04:00
committed by Elias Naur
parent f475087296
commit ae3103e180
2 changed files with 9 additions and 1 deletions
+7 -1
View File
@@ -7,9 +7,15 @@ package wm
import (
"errors"
"unsafe"
)
type ViewEvent struct{}
type ViewEvent struct {
// Display is a pointer to the X11 Display created by XOpenDisplay.
Display unsafe.Pointer
// Window is the X11 window ID as returned by XCreateWindow.
Window uintptr
}
func Main() {
select {}