app: don't route internal wakeup events to the Router

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2023-11-28 16:19:23 -06:00
committed by Chris Waldon
parent dbc7a900bd
commit 4617526e12
+1
View File
@@ -904,6 +904,7 @@ func (w *Window) processEvent(d driver, e event.Event) bool {
w.decorations.Config = e2.Config
e2.Config = w.effectiveConfig()
w.out <- e2
case wakeupEvent:
case event.Event:
handled := w.queue.q.Queue(e2)
if e, ok := e.(key.Event); ok && !handled {