ensure the panel doesn't get focus
will still have to get it when an applet status marks itself as accepting input
This commit is contained in:
parent
4d5bac5f22
commit
4426b4e089
@ -45,7 +45,7 @@ PanelView::PanelView(DesktopCorona *corona, QWindow *parent)
|
|||||||
setFormat(format);
|
setFormat(format);
|
||||||
setClearBeforeRendering(true);
|
setClearBeforeRendering(true);
|
||||||
setColor(QColor(Qt::transparent));
|
setColor(QColor(Qt::transparent));
|
||||||
setFlags(Qt::FramelessWindowHint);
|
setFlags(Qt::FramelessWindowHint|Qt::WindowDoesNotAcceptFocus);
|
||||||
KWindowSystem::setType(winId(), NET::Dock);
|
KWindowSystem::setType(winId(), NET::Dock);
|
||||||
setVisible(false);
|
setVisible(false);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user