tooltip is override redirect

CCBUG:335267
This commit is contained in:
Marco Martin 2014-05-27 13:39:12 +02:00
parent de73bbb278
commit 71b22cb89b

View File

@ -35,7 +35,7 @@ ToolTipDialog::ToolTipDialog(QQuickItem *parent)
m_hideTimeout(4000),
m_interactive(false)
{
setFlags(Qt::ToolTip);
setFlags(Qt::ToolTip | Qt::X11BypassWindowManagerHint);
setLocation(Plasma::Types::Floating);
m_animation = new QPropertyAnimation(this);
@ -108,7 +108,7 @@ bool ToolTipDialog::event(QEvent *e)
}
bool ret = Dialog::event(e);
setFlags(Qt::ToolTip | Qt::WindowDoesNotAcceptFocus | Qt::WindowStaysOnTopHint);
setFlags(Qt::ToolTip | Qt::WindowDoesNotAcceptFocus | Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint);
return ret;
}