do not create window pixmap for Deleted windows

related black window issues

BUG: 325939
FIXED-IN: 4.11.3
This commit is contained in:
Thomas Lübking 2013-10-15 00:43:41 +02:00
parent 92a4cdd9e7
commit a3cbe50e12

View file

@ -850,7 +850,7 @@ WindowPixmap::~WindowPixmap()
void WindowPixmap::create()
{
if (isValid()) {
if (isValid() || toplevel()->isDeleted()) {
return;
}
XServerGrabber grabber();