added kludge to fix some input focus misbehavior in gedit and anjuta, thanks Martti Kühne
This commit is contained in:
		
							parent
							
								
									3bfc43c3d0
								
							
						
					
					
						commit
						90f3238301
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										3
									
								
								dwm.c
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								dwm.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -884,7 +884,8 @@ focusmon(const Arg *arg) {
 | 
			
		|||
		return;
 | 
			
		||||
	if((m = dirtomon(arg->i)) == selmon)
 | 
			
		||||
		return;
 | 
			
		||||
	unfocus(selmon->sel, True);
 | 
			
		||||
	unfocus(selmon->sel, False); /* s/True/False/ fixes input focus issues
 | 
			
		||||
					in gedit and anjuta */
 | 
			
		||||
	selmon = m;
 | 
			
		||||
	focus(NULL);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue