mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Use XKB keycode numbering for bindcode
This commit is contained in:
		
							parent
							
								
									d77681ea3d
								
							
						
					
					
						commit
						f5ed65e633
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -158,7 +158,7 @@ static struct cmd_results * cmd_bindsym_or_bindcode(int argc, char **argv, bool
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (bindcode) {
 | 
							if (bindcode) {
 | 
				
			||||||
			*key = (uint32_t) (keycode - 8);
 | 
								*key = (uint32_t) keycode;
 | 
				
			||||||
		} else {
 | 
							} else {
 | 
				
			||||||
			*key = (uint32_t) keysym;
 | 
								*key = (uint32_t) keysym;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue