Added Qt::X11BypassWindowManagerHint to the WindowFlags of ToolTipWidget (#222)

This commit is contained in:
Bur0k 2018-01-10 00:30:40 +01:00 committed by fourtf
parent ca0d672609
commit c240d6f7c2

View file

@ -25,7 +25,7 @@ TooltipWidget::TooltipWidget(BaseWidget *parent)
this->getDpiMultiplier())); this->getDpiMultiplier()));
this->setAttribute(Qt::WA_ShowWithoutActivating); this->setAttribute(Qt::WA_ShowWithoutActivating);
this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint); this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint);
displayText->setAlignment(Qt::AlignHCenter); displayText->setAlignment(Qt::AlignHCenter);
displayText->setText("lmao xD"); displayText->setText("lmao xD");