mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Pass client when adding menu item, GitHub issue 3103.
This commit is contained in:
		
							
								
								
									
										2
									
								
								status.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								status.c
									
									
									
									
									
								
							@@ -1798,7 +1798,7 @@ status_prompt_complete_window_menu(struct client *c, struct session *s,
 | 
				
			|||||||
		item.name = tmp;
 | 
							item.name = tmp;
 | 
				
			||||||
		item.key = '0' + size - 1;
 | 
							item.key = '0' + size - 1;
 | 
				
			||||||
		item.command = NULL;
 | 
							item.command = NULL;
 | 
				
			||||||
		menu_add_item(menu, &item, NULL, NULL, NULL);
 | 
							menu_add_item(menu, &item, NULL, c, NULL);
 | 
				
			||||||
		free(tmp);
 | 
							free(tmp);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (size == height)
 | 
							if (size == height)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user