mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
app/internal/window: [Wayland] delete unused field
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -135,7 +135,6 @@ type window struct {
|
|||||||
|
|
||||||
stage system.Stage
|
stage system.Stage
|
||||||
dead bool
|
dead bool
|
||||||
pendingErr error
|
|
||||||
lastFrameCallback *C.struct_wl_callback
|
lastFrameCallback *C.struct_wl_callback
|
||||||
|
|
||||||
mu sync.Mutex
|
mu sync.Mutex
|
||||||
@@ -846,7 +845,7 @@ loop:
|
|||||||
dispFd.Events |= syscall.POLLOUT
|
dispFd.Events |= syscall.POLLOUT
|
||||||
}
|
}
|
||||||
if w.dead {
|
if w.dead {
|
||||||
w.w.Event(system.DestroyEvent{Err: w.pendingErr})
|
w.w.Event(system.DestroyEvent{})
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
// Clear poll events.
|
// Clear poll events.
|
||||||
|
|||||||
Reference in New Issue
Block a user