Move any windows around if it is not instant, save everything (just in case) and kill dwm.exe (DWM will restarts on its own)
Seems to be a bug that it slowly gets slower and slower especially if many windows are open.
I couldnt find that process in W11... however - I did a hard reboot and it came back to normal, but first I went in and turned off a lot of autostart cruft - but after doing that I rebooted and it still didnt fix it until the hard reset.