mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-08 02:45:38 +00:00
app/internal/wm: implement ViewEvent for X11
Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
@@ -690,8 +690,10 @@ func newX11Window(gioWin Callbacks, opts *Options) error {
|
||||
|
||||
go func() {
|
||||
w.w.SetDriver(w)
|
||||
w.w.Event(ViewEvent{Display: unsafe.Pointer(dpy), Window: uintptr(win)})
|
||||
w.setStage(system.StageRunning)
|
||||
w.loop()
|
||||
w.w.Event(ViewEvent{})
|
||||
w.destroy()
|
||||
}()
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user