Refer: https://askubuntu.com/questions/1073568/preventing-window-resizing-after-resume
There's an issue when resuming from suspend, the screen warps and it needs resized. This fix does not work completely but it downsizes the window, so you just need to double-click to get it working again. This is NOT a perfect solution for Parallels and it is wonky when suspending in full screen too.
If this returns a value of uint32 0, then it means you have automatic scaling turned on. I found that setting this to a specific value (in my case 1) fixed the issue, which you can do using the following:
gsettings get org.gnome.desktop.interface scaling-factor
gsettings set org.gnome.desktop.interface scaling-factor 1
