mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	seat: Listen for destroy signal of pressed.surface
This commit is contained in:
		
							parent
							
								
									c8ddb0143c
								
							
						
					
					
						commit
						b8c3fdaef9
					
				
					 6 changed files with 35 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -814,9 +814,7 @@ cursor_button(struct wl_listener *listener, void *data)
 | 
			
		|||
 | 
			
		||||
	/* Handle _press */
 | 
			
		||||
	if (surface) {
 | 
			
		||||
		seat->pressed.view = view;
 | 
			
		||||
		seat->pressed.node = node;
 | 
			
		||||
		seat->pressed.surface = surface;
 | 
			
		||||
		seat_set_pressed(seat, view, node, surface);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (server->input_mode == LAB_INPUT_STATE_MENU) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue