mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-28 05:40:19 -04:00
opt: delay 1ms before exit when mmsg send request
This commit is contained in:
parent
6ab7f822c1
commit
04e3bd6861
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <wayland-client.h>
|
||||
#include <wayland-util.h>
|
||||
|
||||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue