1
0
Fork 0
forked from wry/wry

toplevel: remove focus_node

This commit is contained in:
Julian Orth 2025-02-19 16:30:07 +01:00
parent 8c26e56b65
commit f4e8d132f3
8 changed files with 19 additions and 46 deletions

View file

@ -7,6 +7,7 @@ use {
},
leaks::Tracker,
object::{Object, Version},
tree::Node,
utils::{
clonecell::CloneCell,
linkedlist::{LinkedNode, NodeRef},
@ -375,6 +376,10 @@ impl SurfaceExt for WlSubsurface {
Some(self)
}
fn focus_node(&self) -> Option<Rc<dyn Node>> {
self.parent.ext.get().focus_node()
}
fn consume_pending_child(
&self,
surface: &WlSurface,