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)) | 	if(!XGetWindowAttributes(dpy, ev->window, &wa)) | ||||||
| 		return; | 		return; | ||||||
| 	if(wa.override_redirect) { | 	if(wa.override_redirect) | ||||||
| 		XSelectInput(dpy, ev->window, |  | ||||||
| 				(StructureNotifyMask | PropertyChangeMask)); |  | ||||||
| 		return; | 		return; | ||||||
| 	} |  | ||||||
| 	if(!getclient(ev->window)) | 	if(!getclient(ev->window)) | ||||||
| 		manage(ev->window, &wa); | 		manage(ev->window, &wa); | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Anselm R. Garbe
						Anselm R. Garbe