https://bugs.winehq.org/show_bug.cgi?id=55902
--- Comment #7 from darkblaze69 bigfoothart@gmail.com ---
Wine (i.e., client side, when "Allow the window manager to decorate the windows" is *not* ticked in winecfg) headerbar?
You're right, with this option off I reproduce in Xwayland too.
If it makes some hints, alacritty project was able to fix the issue. https://github.com/alacritty/alacritty/issues/7011