tooltip is override redirect
CCBUG:335267
This commit is contained in:
parent
de73bbb278
commit
71b22cb89b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user