minor fix
This commit is contained in:
		
							parent
							
								
									3aa94bbc7d
								
							
						
					
					
						commit
						faa881ba49
					
				@ -1,5 +1,5 @@
 | 
			
		||||
# dmenu version
 | 
			
		||||
VERSION = 3.7
 | 
			
		||||
VERSION = 3.8
 | 
			
		||||
 | 
			
		||||
# Customize below to fit your system
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -477,11 +477,11 @@ kpress(XKeyEvent * e) {
 | 
			
		||||
		calcoffsets();
 | 
			
		||||
		break;
 | 
			
		||||
	case XK_Return:
 | 
			
		||||
		if((e->state & ShiftMask) && text)
 | 
			
		||||
		if((e->state & ShiftMask) && *text)
 | 
			
		||||
			fprintf(stdout, "%s", text);
 | 
			
		||||
		else if(sel)
 | 
			
		||||
			fprintf(stdout, "%s", sel->text);
 | 
			
		||||
		else if(text)
 | 
			
		||||
		else if(*text)
 | 
			
		||||
			fprintf(stdout, "%s", text);
 | 
			
		||||
		fflush(stdout);
 | 
			
		||||
		running = False;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user