mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Don't set xwayland cursor when wlr_xwayland failed
This causes a NULL pointer dereference.
This commit is contained in:
		
							parent
							
								
									1bfbf262cc
								
							
						
					
					
						commit
						dfccd2a4c4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -925,7 +925,7 @@ void seat_configure_xcursor(struct sway_seat *seat) {
 | 
			
		|||
		}
 | 
			
		||||
 | 
			
		||||
#if HAVE_XWAYLAND
 | 
			
		||||
		if (config->xwayland && (!server.xwayland.xcursor_manager ||
 | 
			
		||||
		if (server.xwayland.wlr_xwayland && (!server.xwayland.xcursor_manager ||
 | 
			
		||||
				!xcursor_manager_is_named(server.xwayland.xcursor_manager,
 | 
			
		||||
					cursor_theme) ||
 | 
			
		||||
				server.xwayland.xcursor_manager->size != cursor_size)) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue