mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	cursor: remove unused node assignement
The node variable is not used before its reassigned later in the function, remove the assignement.
This commit is contained in:
		
							parent
							
								
									efe370ba12
								
							
						
					
					
						commit
						35d610a43c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -431,7 +431,7 @@ static void handle_cursor_motion(struct wl_listener *listener, void *data) {
 | 
			
		|||
	struct sway_node *node = NULL;
 | 
			
		||||
	double sx, sy;
 | 
			
		||||
	if (cursor->active_constraint) {
 | 
			
		||||
		node = node_at_coords(cursor->seat,
 | 
			
		||||
		node_at_coords(cursor->seat,
 | 
			
		||||
			cursor->cursor->x, cursor->cursor->y, &surface, &sx, &sy);
 | 
			
		||||
 | 
			
		||||
		if (cursor->active_constraint->surface != surface) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue