mirror of
				https://github.com/DreamMaoMao/maomaowm.git
				synced 2025-10-29 05:40:21 -04:00 
			
		
		
		
	opt: delay 1ms before exit when mmsg send request
This commit is contained in:
		
							parent
							
								
									2d3b89e23d
								
							
						
					
					
						commit
						9b5f05e718
					
				
					 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
	
	 DreamMaoMao
						DreamMaoMao