mirror of
				https://github.com/leahneukirchen/cwm.git
				synced 2023-08-10 21:13:12 +03:00 
			
		
		
		
	just populating the ctx is enough since the menu uses a callback and ignores anything else
This commit is contained in:
		
							
								
								
									
										2
									
								
								kbfunc.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								kbfunc.c
									
									
									
									
									
								
							@@ -153,7 +153,7 @@ kbfunc_client_search(struct client_ctx *cc, union arg *arg)
 | 
			
		||||
 | 
			
		||||
	TAILQ_INIT(&menuq);
 | 
			
		||||
	TAILQ_FOREACH(cc, &sc->clientq, entry)
 | 
			
		||||
		menuq_add(&menuq, cc, "%s", cc->name);
 | 
			
		||||
		menuq_add(&menuq, cc, NULL);
 | 
			
		||||
 | 
			
		||||
	if ((mi = menu_filter(sc, &menuq, "window", NULL, 0,
 | 
			
		||||
	    search_match_client, search_print_client)) != NULL) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user