From 04e3bd6861272c1975876cf70f0be17a706769cf Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Mon, 27 Oct 2025 12:29:41 +0800 Subject: [PATCH] opt: delay 1ms before exit when mmsg send request --- mmsg/mmsg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mmsg/mmsg.c b/mmsg/mmsg.c index ae9270d..7f406d5 100644 --- a/mmsg/mmsg.c +++ b/mmsg/mmsg.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include @@ -373,6 +374,7 @@ static void dwl_ipc_output_frame(void *data, dispatch_arg3, dispatch_arg4, dispatch_arg5); } wl_display_flush(display); + usleep(1000); exit(0); } else { if (tflag) {