Currently the GUI renders in a loop, while true.
We should actually ask the compositor to request the next frame when necessary. This should reduce rendering to 60frames/second (or whatever the compositors caps at).
This'll also avoid rendering when in the background.
Note: it might not be RENDERING more than necessary, wdisplay might be requesting frames from wlr-screencopy-unstable-v1 more than necessary.
Apparently, when a screencopy frame is received, another is immediately requested. Even when the main window is in background.
Can't find if the request cycle is tied to rendering or not -- it would seem not.