From 58fc5f3b06242fc6d6d3e3339222ebba6a4aac59 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 10 Oct 2024 10:28:55 +0300 Subject: layout: Replace move_window_to_output with move_to_output --- src/handlers/mod.rs | 2 +- src/handlers/xdg_shell.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/handlers') diff --git a/src/handlers/mod.rs b/src/handlers/mod.rs index efb492a4..5b44caf0 100644 --- a/src/handlers/mod.rs +++ b/src/handlers/mod.rs @@ -474,7 +474,7 @@ impl ForeignToplevelHandler for State { if &requested_output != current_output { self.niri .layout - .move_window_to_output(&window, &requested_output); + .move_to_output(Some(&window), &requested_output, None); } } diff --git a/src/handlers/xdg_shell.rs b/src/handlers/xdg_shell.rs index 031ef571..be7dc813 100644 --- a/src/handlers/xdg_shell.rs +++ b/src/handlers/xdg_shell.rs @@ -288,7 +288,7 @@ impl XdgShellHandler for State { if &requested_output != current_output { self.niri .layout - .move_window_to_output(&window, &requested_output); + .move_to_output(Some(&window), &requested_output, None); } } -- cgit