···511511512512 // We assert that the focused widget *must* be in the widget tree. There is certianly a
513513 // logic bug in the code somewhere if this is not the case
514514- assert(has_focus);
514514+ assert(has_focus); // Focused widget not found in Surface tree
515515 if (!self.root.eql(surface.widget)) {
516516 // If the root of surface is not the initial widget, we append the initial widget
517517 try self.path_to_focused.append(self.root);