mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	keybind: implement allowWhenLocked
fixes #2034
see bc258a3be2/sway/sway.5.scd (L409)
			
			
This commit is contained in:
		
							parent
							
								
									6dd0d69889
								
							
						
					
					
						commit
						116382fd89
					
				
					 4 changed files with 21 additions and 16 deletions
				
			
		| 
						 | 
				
			
			@ -407,6 +407,8 @@ fill_keybind(char *nodename, char *content)
 | 
			
		|||
		set_bool(content, ¤t_keybind->on_release);
 | 
			
		||||
	} else if (!strcasecmp(nodename, "layoutDependent")) {
 | 
			
		||||
		set_bool(content, ¤t_keybind->use_syms_only);
 | 
			
		||||
	} else if (!strcasecmp(nodename, "allowWhenLocked")) {
 | 
			
		||||
		set_bool(content, ¤t_keybind->allow_when_locked);
 | 
			
		||||
	} else if (!strcmp(nodename, "name.action")) {
 | 
			
		||||
		current_keybind_action = action_create(content);
 | 
			
		||||
		if (current_keybind_action) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue