mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	reindent for sircmpwn style
This commit is contained in:
		
							parent
							
								
									431da3ed0e
								
							
						
					
					
						commit
						c456e85e2f
					
				
					 1 changed files with 9 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -14,13 +14,17 @@ change_vt(struct server *server, unsigned int vt)
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static bool any_modifiers_pressed(struct wlr_keyboard *keyboard)
 | 
			
		||||
static bool
 | 
			
		||||
any_modifiers_pressed(struct wlr_keyboard *keyboard)
 | 
			
		||||
{
 | 
			
		||||
	for(xkb_mod_index_t i = 0; i < xkb_keymap_num_mods(keyboard->keymap); i++) {
 | 
			
		||||
	xkb_mod_index_t i ;
 | 
			
		||||
	for (i = 0; i < xkb_keymap_num_mods(keyboard->keymap); i++) {
 | 
			
		||||
		if (xkb_state_mod_index_is_active
 | 
			
		||||
		   (keyboard->xkb_state, i,  XKB_STATE_MODS_EFFECTIVE))
 | 
			
		||||
				(keyboard->xkb_state, i,
 | 
			
		||||
				 XKB_STATE_MODS_EFFECTIVE)) {
 | 
			
		||||
			return true;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	return false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue