A couple of weeks ago, I noticed that when my Windows 10 wallpaper changes, my application windows spontaneously minimize and then reappear. I have wallpapers set on slideshow mode. I rolled back my video driver thinking that was the problem, but that didn't fix it.
I found that disabling WindowFX fixed the problem. It didn't do this until a couple of weeks ago, so maybe some Windows update broke it.
Here's my system specs:
Nvidia GTX 1080, driver version 419.67
Windows 10 Pro 64-bit, version 1809
Intel Core i7-6850K @ 3.60 GHz (overclocked to 4.2 GHz)
32 GB RAM
Two monitors - Wacom Cintiq 27QHD touch at 2560 X 1440 and Dell U2415 at 1920 X 1200
WindowFX version 6.04