https://macsecurity.net/view/393-windowserver-mac
How to fix WindowServer high CPU and memory usage on Mac — MacSecurity.net