From f75051281b8fb3665a0ed7689d3e866869dff2ab Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Fri, 18 Jul 2025 19:57:22 +0200 Subject: [PATCH] placeholder: fix member order --- src/tree/placeholder.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tree/placeholder.rs b/src/tree/placeholder.rs index fbf3362c..b814b207 100644 --- a/src/tree/placeholder.rs +++ b/src/tree/placeholder.rs @@ -170,6 +170,10 @@ impl Node for PlaceholderNode { self.toplevel.pos.get() } + fn node_output(&self) -> Option> { + self.toplevel.output_opt() + } + fn node_do_focus(self: Rc, seat: &Rc, _direction: Direction) { seat.focus_toplevel(self.clone()); } @@ -205,16 +209,12 @@ impl Node for PlaceholderNode { seat.enter_toplevel(self.clone()); } - fn node_is_placeholder(&self) -> bool { - true - } - fn node_into_toplevel(self: Rc) -> Option> { Some(self) } - fn node_output(&self) -> Option> { - self.toplevel.output_opt() + fn node_is_placeholder(&self) -> bool { + true } }