#foot just might try to play nice with compositors doing close-animations. It ha...

@dnkl@treehouse.systems

#foot just might try to play nice with compositors doing close-animations. It has been reported that this is glitchy on at least kwin (but I assume it's not limited to kwin).

Presumably because foot unmaps all surfaces before destroying the toplevel and all other surfaces. This is being done to ensure a consistent state within foot, with no dangling pointers to the soon-to-be-destroyed terminal instance.

If you've experienced visual glitches in the close-animations, do feel free to test codeberg.org/dnkl/foot/pulls/2.

Besides fixing the glitches, it should:

  • Not crash
  • Not result in any warnings or errors (on stderr) not seen before the MR
  • Not result in any Wayland protocol errors (seen on stdout/stderr)