Raise error when desktop transparancy is disabled
Hello,
Just tried your script on Lightdm (XFCE on Ubuntu 18.04) but when transparency (also called "compositing" sometimes) is disabled you just get a fullscreen black area and no way to quit it. I had to kill the script from another tty...
If composing is disabled, the app should fail to run with an error message.
Thanks!
Unfortunately I'm not aware of any way to test for this before hand without pulling in all of Xlib. Next best I can offer is to limit the default size of the window and hope the user notices
Technically qt5-x11extras has QX11Extras which in turn has 'isCompositingManagerRunning'
But of the versions I've tested this particular function is missing.