I don't see any reason why we should select for input on override-redirect windows?
This commit is contained in:
		
							parent
							
								
									d0d986dd0e
								
							
						
					
					
						commit
						35e65ea640
					
				
							
								
								
									
										5
									
								
								event.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								event.c
									
									
									
									
									
								
							@ -293,11 +293,8 @@ maprequest(XEvent *e) {
 | 
			
		||||
 | 
			
		||||
	if(!XGetWindowAttributes(dpy, ev->window, &wa))
 | 
			
		||||
		return;
 | 
			
		||||
	if(wa.override_redirect) {
 | 
			
		||||
		XSelectInput(dpy, ev->window,
 | 
			
		||||
				(StructureNotifyMask | PropertyChangeMask));
 | 
			
		||||
	if(wa.override_redirect)
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
	if(!getclient(ev->window))
 | 
			
		||||
		manage(ev->window, &wa);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user