mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	rootston: fix damage when changing views z-index
This commit is contained in:
		
							parent
							
								
									b47e8c4a1d
								
							
						
					
					
						commit
						4cc58288cb
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -764,6 +764,8 @@ void roots_seat_set_focus(struct roots_seat *seat, struct roots_view *view) {
 | 
				
			||||||
	wl_list_remove(&seat_view->link);
 | 
						wl_list_remove(&seat_view->link);
 | 
				
			||||||
	wl_list_insert(&seat->views, &seat_view->link);
 | 
						wl_list_insert(&seat->views, &seat_view->link);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						view_damage_whole(view);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	struct wlr_keyboard *keyboard = wlr_seat_get_keyboard(seat->seat);
 | 
						struct wlr_keyboard *keyboard = wlr_seat_get_keyboard(seat->seat);
 | 
				
			||||||
	if (keyboard != NULL) {
 | 
						if (keyboard != NULL) {
 | 
				
			||||||
		wlr_seat_keyboard_notify_enter(seat->seat, view->wlr_surface,
 | 
							wlr_seat_keyboard_notify_enter(seat->seat, view->wlr_surface,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue