mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	backend/drm: remove duplicate needs_frame() in set_cursor()
wlr_output_update_needs_frame() is called unconditionally at the end of the function already.
This commit is contained in:
		
							parent
							
								
									71b57b8d27
								
							
						
					
					
						commit
						cbcd99435f
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
					@ -931,8 +931,6 @@ static bool drm_connector_set_cursor(struct wlr_output *output,
 | 
				
			||||||
		conn->cursor_y -= hotspot_y - conn->cursor_hotspot_y;
 | 
							conn->cursor_y -= hotspot_y - conn->cursor_hotspot_y;
 | 
				
			||||||
		conn->cursor_hotspot_x = hotspot_x;
 | 
							conn->cursor_hotspot_x = hotspot_x;
 | 
				
			||||||
		conn->cursor_hotspot_y = hotspot_y;
 | 
							conn->cursor_hotspot_y = hotspot_y;
 | 
				
			||||||
 | 
					 | 
				
			||||||
		wlr_output_update_needs_frame(output);
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	conn->cursor_enabled = false;
 | 
						conn->cursor_enabled = false;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue