From 27c4d5e01d2de290f7915d78cdf28c25e999cb87 Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 1 Jun 2022 22:32:03 +0800 Subject: [PATCH] return the key hit to the listener of the notification --- services/gam/src/modal/notification.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/gam/src/modal/notification.rs b/services/gam/src/modal/notification.rs index ff498612c..d82a9b520 100644 --- a/services/gam/src/modal/notification.rs +++ b/services/gam/src/modal/notification.rs @@ -195,7 +195,7 @@ impl ActionApi for Notification { if self.manual_dismiss { send_message( self.action_conn, - xous::Message::new_scalar(self.action_opcode as usize, 0, 0, 0, 0), + xous::Message::new_scalar(self.action_opcode as usize, k as u32 as usize, 0, 0, 0), ) .expect("couldn't pass on dismissal"); return (None, true);