mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	desktop_node_and_view_at(): handle layer surfaces
+ Replace some tabs with spaces in include/node.h Fixes: #278
This commit is contained in:
		
							parent
							
								
									499df78531
								
							
						
					
					
						commit
						3699a2a7f6
					
				
					 2 changed files with 9 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -294,6 +294,11 @@ desktop_node_and_view_at(struct server *server, double lx, double ly,
 | 
			
		|||
			if (desc->type == LAB_NODE_DESC_XDG_POPUP) {
 | 
			
		||||
				goto has_view_data;
 | 
			
		||||
			}
 | 
			
		||||
			if (desc->type == LAB_NODE_DESC_LAYER_SURFACE) {
 | 
			
		||||
				/* FIXME: we shouldn't have to set *view_area */
 | 
			
		||||
				*view_area = LAB_SSD_CLIENT;
 | 
			
		||||
				return NULL;
 | 
			
		||||
			}
 | 
			
		||||
			if (desc->type == LAB_NODE_DESC_LAYER_POPUP) {
 | 
			
		||||
				/* FIXME: we shouldn't have to set *view_area */
 | 
			
		||||
				*view_area = LAB_SSD_CLIENT;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue