Patch - Adding window swallowing to Xmonad. - Causes fixed size floating windows to be wrong size.

I recently reinstalled arch and re-setup xmonad again. It's good to see all of the old bugs from a year a go still there. And some new ones that had me updating my dtos-helper script. But one thing was really giving me a hard time. All the games i have been developing that are all fixed size games such as 800x600 should all launch as floating and at the actual size. But what was happening was they were not launching as floating and the size was wrong. Or they would launch as floating but still the size was wrong. Thankfully chatgpt and bing chat were no help what so ever. And i even dived into attempting to create my own floating rules for a game that was still ignored. I felt like maybe i was loosing my mind and was sure it had been working for the last year. So just to see what would happen i fired up vscode and a terminal with it and sure enough it worked perfectly. So now i was searching for Alacritty and found that line that i didn't remember in the past. I actually needed to update dtos-helper to deal with that line being different. From this commit 8 months ago. 036afabc

swallowEventHook (className =? "Alacritty"  <||> className =? "st-256color" <||> className =? "XTerm") (return True) <>

This was added and it seems to be making xmonad ignore the terminal so any applications launched from the terminal will not be treated correctly they will not launch in the expected manor of making all fixed size windows float and also using there correct size. removing this seems to have sorted the issue. But i am left to wonder why it was added to begin with. What was the issue that it was causing and for the last 8 months has anyone come across this same issue?

If you like to see the problem in action you can try out some of these simple games. I think i may have written one of them in Haskell using sdl2 bindings. https://github.com/JeremiahCheatham/Yellow-Snow