xcb: remove compressExposeEvent() from handleMapNotifyEvent()

It's a workaround for Mesa drivers.

This partially reverts commit a9c0a83207.

Change-Id: Idea2ebdb5e9bdb899f2e105c4a161e74933f0484
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
This commit is contained in:
Liang Qi 2016-01-26 09:30:40 +01:00
parent 0c3ce60c99
commit 87abfd351a

View File

@ -2105,9 +2105,7 @@ void QXcbWindow::handleMapNotifyEvent(const xcb_map_notify_event_t *event)
if (m_deferredActivation)
requestActivateWindow();
QRegion exposeRegion = QRect(QPoint(), geometry().size());
compressExposeEvent(exposeRegion);
QWindowSystemInterface::handleExposeEvent(window(), exposeRegion);
QWindowSystemInterface::handleExposeEvent(window(), QRect(QPoint(), geometry().size()));
}
}