Describe the bug
When using hide_window_decorations the kitty window don't stay maximized when switching desktop on Gnome/Wayland
To Reproduce
Steps to reproduce the behavior:
- set hide_window_decorations to yes
- maximize Kitty with the Gnome keyboard shortcut or the mouse menu
- switch desktop
- go back to the desktop where Kitty is opened
- the window went to back to it's previous size
Expected behavior
Kitty window should stay maximized
Environment details
OS: Arch Linux
Gnome 40 with Wayland
Kitty version: 0.20.0 and 0.20.1, in Wayland mode
Additional context
It does not happen with hide_window_decorations set to no, or in x11 mode.