mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Merge pull request #1308 from dcz-purism/fix_disable_text_input
text-input: Accept disable requests
This commit is contained in:
		
						commit
						31f338bb36
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -163,10 +163,6 @@ static void handle_text_input_disable(struct wl_listener *listener,
 | 
			
		|||
		text_input_disable);
 | 
			
		||||
	struct roots_text_input *text_input = text_input_to_roots(relay,
 | 
			
		||||
		(struct wlr_text_input_v3*)data);
 | 
			
		||||
	if (!text_input->input->current_enabled) {
 | 
			
		||||
		wlr_log(WLR_DEBUG, "Inactive text input tried to disable itself");
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
	relay_disable_text_input(relay, text_input);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue