mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	One more
This commit is contained in:
		
							parent
							
								
									03af90d302
								
							
						
					
					
						commit
						3553fa0a74
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -806,11 +806,11 @@ static bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifier
 | 
			
		|||
		struct sway_binding *binding = mode->bindings->items[i];
 | 
			
		||||
		if ((modifiers->mods ^ binding->modifiers) == 0) {
 | 
			
		||||
			switch (state) {
 | 
			
		||||
			case WLC_KEY_STATE_PRESSED: {
 | 
			
		||||
			case WLC_KEY_STATE_PRESSED:
 | 
			
		||||
				if (!binding->release && valid_bindsym(binding)) {
 | 
			
		||||
					list_add(candidates, binding);
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
				break;
 | 
			
		||||
			case WLC_KEY_STATE_RELEASED:
 | 
			
		||||
				if (binding->release && handle_bindsym_release(binding)) {
 | 
			
		||||
					list_free(candidates);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue