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:
Marco Martin 2013-08-20 22:53:24 +02:00
parent 4d5bac5f22
commit 4426b4e089

View File

@ -45,7 +45,7 @@ PanelView::PanelView(DesktopCorona *corona, QWindow *parent)
setFormat(format);
setClearBeforeRendering(true);
setColor(QColor(Qt::transparent));
setFlags(Qt::FramelessWindowHint);
setFlags(Qt::FramelessWindowHint|Qt::WindowDoesNotAcceptFocus);
KWindowSystem::setType(winId(), NET::Dock);
setVisible(false);