1
0
Fork 0
forked from wry/wry

autocommit 2022-02-20 22:56:26 CET

This commit is contained in:
Julian Orth 2022-02-20 22:56:26 +01:00
parent a8505be462
commit 7fecc0d1a4
5 changed files with 39 additions and 15 deletions

View file

@ -116,7 +116,7 @@ impl State {
pub fn map_tiled(self: &Rc<Self>, node: Rc<dyn Node>) {
let seat = self.seat_queue.last();
if let Some(seat) = seat {
if let Some(prev) = seat.last_tiled_keyboard_toplevel() {
if let Some(prev) = seat.last_tiled_keyboard_toplevel(&*node) {
if let Some(container) = prev.parent_node.get() {
if let Some(container) = container.into_container() {
container.add_child_after(&*prev, node);