mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	cursor: fix Scroll mousebinds not inhibited with ToggleKeybinds
fixup for 024ab280
			
			
This commit is contained in:
		
							parent
							
								
									d5c03ab7fb
								
							
						
					
					
						commit
						ca8d98e80f
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1346,6 +1346,10 @@ process_cursor_axis(struct server *server, enum wl_pointer_axis orientation,
 | 
			
		|||
	if (direction != LAB_DIRECTION_INVALID) {
 | 
			
		||||
		struct mousebind *mousebind;
 | 
			
		||||
		wl_list_for_each(mousebind, &rc.mousebinds, link) {
 | 
			
		||||
			if (ctx.type == LAB_SSD_CLIENT
 | 
			
		||||
					&& view_inhibits_actions(ctx.view, &mousebind->actions)) {
 | 
			
		||||
				continue;
 | 
			
		||||
			}
 | 
			
		||||
			if (ssd_part_contains(mousebind->context, ctx.type)
 | 
			
		||||
					&& mousebind->direction == direction
 | 
			
		||||
					&& modifiers == mousebind->modifiers
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue