diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-10-10 10:28:55 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-10-10 10:28:55 +0300 |
| commit | 58fc5f3b06242fc6d6d3e3339222ebba6a4aac59 (patch) | |
| tree | 846dc046215178d9bf1c8b6f3bd4d51ddc316d98 /src/handlers | |
| parent | 7d4e99b76047155c5aaa8453ff590f8e1e6befd3 (diff) | |
| download | niri-58fc5f3b06242fc6d6d3e3339222ebba6a4aac59.tar.gz niri-58fc5f3b06242fc6d6d3e3339222ebba6a4aac59.tar.bz2 niri-58fc5f3b06242fc6d6d3e3339222ebba6a4aac59.zip | |
layout: Replace move_window_to_output with move_to_output
Diffstat (limited to 'src/handlers')
| -rw-r--r-- | src/handlers/mod.rs | 2 | ||||
| -rw-r--r-- | src/handlers/xdg_shell.rs | 2 |
2 files changed, 2 insertions, 2 deletions
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); } } |
