mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-11-03 09:01:45 -05:00 
			
		
		
		
	client_pending has been renamed as pending in wlr_layer_surface_v1
as seen in swaywm/wlroots@59fa363
This commit is contained in:
		
							parent
							
								
									55bbbc3dcb
								
							
						
					
					
						commit
						1e1482adcb
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		
							
								
								
									
										6
									
								
								dwl.c
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								dwl.c
									
										
									
									
									
								
							| 
						 | 
					@ -930,13 +930,13 @@ createlayersurface(struct wl_listener *listener, void *data)
 | 
				
			||||||
	wlr_layer_surface->data = layersurface;
 | 
						wlr_layer_surface->data = layersurface;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	m = wlr_layer_surface->output->data;
 | 
						m = wlr_layer_surface->output->data;
 | 
				
			||||||
	wl_list_insert(&m->layers[wlr_layer_surface->client_pending.layer],
 | 
						wl_list_insert(&m->layers[wlr_layer_surface->pending.layer],
 | 
				
			||||||
			&layersurface->link);
 | 
								&layersurface->link);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Temporarily set the layer's current state to client_pending
 | 
						// Temporarily set the layer's current state to pending
 | 
				
			||||||
	// so that we can easily arrange it
 | 
						// so that we can easily arrange it
 | 
				
			||||||
	old_state = wlr_layer_surface->current;
 | 
						old_state = wlr_layer_surface->current;
 | 
				
			||||||
	wlr_layer_surface->current = wlr_layer_surface->client_pending;
 | 
						wlr_layer_surface->current = wlr_layer_surface->pending;
 | 
				
			||||||
	arrangelayers(m);
 | 
						arrangelayers(m);
 | 
				
			||||||
	wlr_layer_surface->current = old_state;
 | 
						wlr_layer_surface->current = old_state;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue