Have tooltips shown properly with xcb.

This commit is contained in:
Laszlo Agocs 2011-06-01 15:32:58 +02:00
parent e917c1d5aa
commit 7c3e1e0ccd

View File

@ -118,7 +118,7 @@ void QXcbWindow::create()
// XCB_CW_BACK_PIXMAP
XCB_NONE,
// XCB_CW_OVERRIDE_REDIRECT
type == Qt::Popup,
type == Qt::Popup || type == Qt::ToolTip,
// XCB_CW_SAVE_UNDER
type == Qt::Popup || type == Qt::Tool || type == Qt::SplashScreen || type == Qt::ToolTip || type == Qt::Drawer,
// XCB_CW_EVENT_MASK