diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-29 11:12:43 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 20:12:37 +0300 |
| commit | 44bf45794e255495e9ee930b019b4bd0e6003428 (patch) | |
| tree | 17d2c4860b69347278be1de59160ae230fdcb9fd /src/handlers | |
| parent | d6da9f47d810790799542d798b2dd536172d07c0 (diff) | |
| download | niri-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.rs | 3 |
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 { |
