From 4ea4d2bd3bea5407c6ddc0ee33f55025ffc1bf38 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 28 Dec 2024 12:06:22 +0300 Subject: layout: Add animate arg to move_floating_window() --- src/input/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/input/mod.rs') diff --git a/src/input/mod.rs b/src/input/mod.rs index 83336fb3..9dd86179 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -1373,7 +1373,9 @@ impl State { None }; - self.niri.layout.move_floating_window(window.as_ref(), x, y); + self.niri + .layout + .move_floating_window(window.as_ref(), x, y, true); // FIXME: granular self.niri.queue_redraw_all(); } -- cgit