aboutsummaryrefslogtreecommitdiff
path: root/src/handlers
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-12-29 11:12:43 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-12-30 20:12:37 +0300
commit44bf45794e255495e9ee930b019b4bd0e6003428 (patch)
tree17d2c4860b69347278be1de59160ae230fdcb9fd /src/handlers
parentd6da9f47d810790799542d798b2dd536172d07c0 (diff)
downloadniri-44bf45794e255495e9ee930b019b4bd0e6003428.tar.gz
niri-44bf45794e255495e9ee930b019b4bd0e6003428.tar.bz2
niri-44bf45794e255495e9ee930b019b4bd0e6003428.zip
Dump post-unfullscreen configure in snapshot tests
Diffstat (limited to 'src/handlers')
-rw-r--r--src/handlers/xdg_shell.rs3
1 files changed, 3 insertions, 0 deletions
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 {