Comment 0 for bug 1012956

Revision history for this message
Sam Spilsbury (smspillaz) wrote : It is possible for the panel shadow to be painted even if the panel window isn't painted

DecorWindow::glDraw checks if we are drawing a desktop window and forcibly draws dock window shadows on top of the desktop window. If the dock window is in the paint list, but is never actually painted, it is possible for the dock window shadow to be painted anyways.

Another "bug" here is that dock window shadows will get painted with the desktop window's matrix and paint attributes, which could be different and the shadow would become detached.