mirror of
				https://github.com/wizbright/waybox.git
				synced 2025-10-29 05:40:20 -04:00 
			
		
		
		
	Fixed refocus crash with the DRM backend
This commit is contained in:
		
							parent
							
								
									410b1e2ced
								
							
						
					
					
						commit
						8679cf9aa4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -57,7 +57,7 @@ static void xdg_surface_unmap(struct wl_listener *listener, void *data) { | |||
| 		focus_view(current_view, current_view->xdg_surface->surface); | ||||
| 	} | ||||
| 	/* Otherwise, focus the next view, if any. */ | ||||
| 	else if (next_view->xdg_surface->surface) { | ||||
| 	else if (next_view->xdg_surface->surface && wlr_surface_is_xdg_surface(next_view->xdg_surface->surface)) { | ||||
| 		focus_view(next_view, next_view->xdg_surface->surface); | ||||
| 	} | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Keith Bowes
						Keith Bowes