panel is a Dock

This commit is contained in:
Marco Martin 2013-02-21 16:30:01 +01:00
parent 790036d5f8
commit 99d49220df

View File

@ -20,6 +20,7 @@
#include <QDebug>
#include <KWindowSystem>
#include <kwindoweffects.h>
#include <Plasma/Package>
@ -33,9 +34,11 @@ PanelView::PanelView(Plasma::Corona *corona, QWindow *parent)
setClearBeforeRendering(true);
setColor(QColor(Qt::transparent));
setFlags(Qt::FramelessWindowHint);
KWindowSystem::setType(winId(), NET::Dock);
//TODO: how to take the shape from the framesvg?
KWindowEffects::enableBlurBehind(winId(), true);
}
PanelView::~PanelView()