Fullscreen wine windows are now cropped
Up to Ubuntu 20.04 / metacity 3.36.1 / wine 5 things were fine.
Now with Ubuntu 22.04 / metacity 3.44.0 / wine 6, fullscreen wine applications are cropped to e.g. 320x240 pixels and are completely unusable.
The same issue happens on Fedora 36 / wine 7.12.
Downgrading to previous metacity versions doesn't help.
Other window managers that were based on metacity, like gnome-shell (both on wayland and xorg) or marco, also have this issue.
All other window managers that I tried, like xfwm4, openbox or kwin, do not have this issue.
Example application web site and direct link to setup-sebran.exe.
The stderr message from metacity is:
(metacity:11883): metacity-WARNING **: 10:08:00.041: Window 0x3200005 (Sebran) sets an MWM hint indicating it isn't resizable, but sets min size 1 x 1 and max size 2147483647 x 2147483647; this doesn't make much sense.
Attaching two screenshots to demonstrate the issue.
This is the expected result, as produced with xfwm4:
The is the bad result, as produced with metacity, marco, gnome-shell etc: