Maximized GVim window on secondary screen displayed on both screens due to direct scanout
When the GVim window is maximized on secondary screen, it suddenly appears also on the primary screen. Please see the attached video:
https://photos.app.goo.gl/VxKBr8DbsPamSLDo7
I am not really sure if this is issue in GVim, Gnome, Mutter, XWayland or somewhere else.
$ rpm -q gnome-shell
gnome-shell-43~beta-2.fc38.x86_64
$ rpm -qf `which gvim`
vim-X11-9.0.189-1.fc38.x86_64
$ rpm -q mutter
mutter-43~beta-1.fc38.x86_64