mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	xdg: fix crash on actions from menu opened by show_window_menu requests
Also removed a redundant line in show_menu() in action.c.
This commit is contained in:
		
							parent
							
								
									b4bc6ffceb
								
							
						
					
					
						commit
						c413e65a20
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -734,7 +734,6 @@ show_menu(struct server *server, struct view *view, struct cursor_context *ctx,
 | 
			
		|||
 | 
			
		||||
	/* Replaced by next show_menu() or cleaned on view_destroy() */
 | 
			
		||||
	menu->triggered_by_view = view;
 | 
			
		||||
	menu->server->menu_current = menu;
 | 
			
		||||
	menu_open_root(menu, x, y);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue