mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Actually let's not do that TODO
This commit is contained in:
		
							parent
							
								
									d053acbed6
								
							
						
					
					
						commit
						62a736a196
					
				
					 2 changed files with 0 additions and 9 deletions
				
			
		| 
						 | 
					@ -93,15 +93,7 @@ static const struct wl_registry_listener registry_listener = {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static struct swaylock_state state;
 | 
					static struct swaylock_state state;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void sigalarm_handler(int sig) {
 | 
					 | 
				
			||||||
	signal(SIGALRM, SIG_IGN);
 | 
					 | 
				
			||||||
	// TODO: Hide typing indicator
 | 
					 | 
				
			||||||
	signal(SIGALRM, sigalarm_handler);
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
int main(int argc, char **argv) {
 | 
					int main(int argc, char **argv) {
 | 
				
			||||||
	signal(SIGALRM, sigalarm_handler);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	static struct option long_options[] = {
 | 
						static struct option long_options[] = {
 | 
				
			||||||
		{"help", no_argument, NULL, 'h'},
 | 
							{"help", no_argument, NULL, 'h'},
 | 
				
			||||||
		{"color", required_argument, NULL, 'c'},
 | 
							{"color", required_argument, NULL, 'c'},
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -121,5 +121,4 @@ void swaylock_handle_key(struct swaylock_state *state,
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	// TODO: Expire state in a few seconds
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue