Properly ignore BadWindow and BadDrawable in get_child_info_handler()
Signed-off-by: Maks Naumov <maksqwe1@ukr.net> https://bugzilla.gnome.org/show_bug.cgi?id=742771
This commit is contained in:
		 Maks Naumov
					Maks Naumov
				
			
				
					committed by
					
						 Matthias Clasen
						Matthias Clasen
					
				
			
			
				
	
			
			
			 Matthias Clasen
						Matthias Clasen
					
				
			
						parent
						
							f120ae7b4d
						
					
				
				
					commit
					430ea2fff6
				
			| @ -476,7 +476,7 @@ get_child_info_handler (Display *dpy, | ||||
|   if (rep->generic.type == X_Error) | ||||
|     { | ||||
|       state->child_has_error = TRUE; | ||||
|       if (rep->error.errorCode != BadDrawable || | ||||
|       if (rep->error.errorCode != BadDrawable && | ||||
| 	  rep->error.errorCode != BadWindow) | ||||
| 	{ | ||||
| 	  state->have_error = TRUE; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user