On KDE, stop the OSD from appearing in the middle of the screen, and under other windows.
This commit is contained in:
parent
9dca93e276
commit
1d6d2e74b8
@ -53,9 +53,8 @@ OSDPretty::OSDPretty(Mode mode, QWidget *parent)
|
||||
fading_enabled_(false),
|
||||
fader_(new QTimeLine(300, this))
|
||||
{
|
||||
Qt::WindowFlags flags = Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint;
|
||||
if (mode == Mode_Popup)
|
||||
flags |= Qt::SplashScreen;
|
||||
Qt::WindowFlags flags = Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint |
|
||||
Qt::X11BypassWindowManagerHint;
|
||||
|
||||
setWindowFlags(flags);
|
||||
setAttribute(Qt::WA_TranslucentBackground, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user