mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Push the XKB key to the key list
Instead of the key name
This commit is contained in:
		
							parent
							
								
									5767dcc86e
								
							
						
					
					
						commit
						254d0df3b2
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -43,7 +43,9 @@ int cmd_bindsym(struct sway_config *config, int argc, char **argv) {
 | 
			
		|||
			// Ignore for now, we need to deal with modifier keys
 | 
			
		||||
			// return 1;
 | 
			
		||||
		}
 | 
			
		||||
		list_add(binding->keys, split->items[i]);
 | 
			
		||||
		xkb_keysym_t *key = malloc(sizeof(xkb_keysym_t));
 | 
			
		||||
		*key = sym;
 | 
			
		||||
		list_add(binding->keys, key);
 | 
			
		||||
	}
 | 
			
		||||
	list_free(split);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue