mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix warning in window.c
This commit is contained in:
		
							parent
							
								
									147a88260a
								
							
						
					
					
						commit
						7aeedf0264
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
					@ -59,9 +59,8 @@ static void pointer_handle_axis(void *data, struct wl_pointer *pointer,
 | 
				
			||||||
		direction = wl_fixed_to_double(value) < 0 ? SCROLL_LEFT : SCROLL_RIGHT;
 | 
							direction = wl_fixed_to_double(value) < 0 ? SCROLL_LEFT : SCROLL_RIGHT;
 | 
				
			||||||
		break;
 | 
							break;
 | 
				
			||||||
	default:
 | 
						default:
 | 
				
			||||||
		if (!sway_assert(false, "Unexpected axis value")) {
 | 
							sway_log(L_DEBUG, "Unexpected axis value on mouse scroll");
 | 
				
			||||||
			return;
 | 
							return;
 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (window->pointer_input.notify_scroll) {
 | 
						if (window->pointer_input.notify_scroll) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue