mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	xwm: remove misleading comment
The surfaces are stored in the bottom-to-top order, as specified in include/xwayland/xwm.h and expected by wlr_xwayland_surface_restack().
This commit is contained in:
		
							parent
							
								
									38839ac536
								
							
						
					
					
						commit
						774d2c82f0
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
					@ -277,9 +277,6 @@ static void xwm_set_net_client_list_stacking(struct wlr_xwm *xwm) {
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// We store surfaces in top-to-bottom order because this is easier to reason
 | 
					 | 
				
			||||||
	// about, but _NET_CLIENT_LIST_STACKING is supposed to be in bottom-to-top
 | 
					 | 
				
			||||||
	// order, so iterate backwards through the list.
 | 
					 | 
				
			||||||
	size_t i = 0;
 | 
						size_t i = 0;
 | 
				
			||||||
	struct wlr_xwayland_surface *xsurface;
 | 
						struct wlr_xwayland_surface *xsurface;
 | 
				
			||||||
	wl_list_for_each(xsurface, &xwm->surfaces_in_stack_order, stack_link) {
 | 
						wl_list_for_each(xsurface, &xwm->surfaces_in_stack_order, stack_link) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue