From 44bf45794e255495e9ee930b019b4bd0e6003428 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 29 Dec 2024 11:12:43 +0300 Subject: Dump post-unfullscreen configure in snapshot tests --- src/handlers/xdg_shell.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/handlers') diff --git a/src/handlers/xdg_shell.rs b/src/handlers/xdg_shell.rs index 33fa9c87..62eafb1b 100644 --- a/src/handlers/xdg_shell.rs +++ b/src/handlers/xdg_shell.rs @@ -491,6 +491,9 @@ impl XdgShellHandler for State { // A configure is required in response to this event regardless if there are pending // changes. + // + // FIXME: when unfullscreening to floating, this will send an extra configure with + // scrolling layout bounds. We should probably avoid it. toplevel.send_configure(); } else if let Some(unmapped) = self.niri.unmapped_windows.get_mut(toplevel.wl_surface()) { match &mut unmapped.state { -- cgit