mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	clear handler context before ipc command
This commit is contained in:
		
							parent
							
								
									c3fc0d446f
								
							
						
					
					
						commit
						38a1628a76
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -335,6 +335,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
 | 
			
		|||
	switch (client->current_command) {
 | 
			
		||||
	case IPC_COMMAND:
 | 
			
		||||
	{
 | 
			
		||||
		config_clear_handler_context(config);
 | 
			
		||||
		struct cmd_results *results = handle_command(buf);
 | 
			
		||||
		const char *json = cmd_results_to_json(results);
 | 
			
		||||
		char reply[256];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue