code: def unredirect_window(self, update, onerror = None):
      
      UnredirectWindow(display = self.display,
                       onerror = onerror,
                       opcode = self.display.get_extension_major(extname),
                       window = self,
                       update = update,
                       )
docs: Stop redirecting this window hierarchy.