Prevent use of GUI Desktop Effects
Hi, I'm making an application, and I don't want the different effects of the Window Manager (such as compiz on Ubuntu) to work for a certain widget.
I have tried:
Code:
setAttribute(Qt::WA_PaintOnScreen, true);
But no luck. Anyone have any idea on how to somehow set a Widget Window Hint to prevent desktop effects?
Thanks in advance,
~codeslicer :)
Re: Prevent use of GUI Desktop Effects
There is not much communication going on between your window manager and Qt so direct control is not really possible. However you can try experimenting with the different window flags. To remove the shadow, you can try to set a mask on the window.