mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #3016 from mwenzkowski/fix-uninitialized-pointer
cursor: fix uninitialized pointer in cursor_rebase
This commit is contained in:
		
						commit
						1c2a356dcf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -585,7 +585,7 @@ static void cursor_do_rebase(struct sway_cursor *cursor, uint32_t time_msec,
 | 
			
		|||
 | 
			
		||||
void cursor_rebase(struct sway_cursor *cursor) {
 | 
			
		||||
	uint32_t time_msec = get_current_time_msec();
 | 
			
		||||
	struct wlr_surface *surface;
 | 
			
		||||
	struct wlr_surface *surface = NULL;
 | 
			
		||||
	double sx, sy;
 | 
			
		||||
	cursor->previous.node = node_at_coords(cursor->seat,
 | 
			
		||||
			cursor->cursor->x, cursor->cursor->y, &surface, &sx, &sy);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue