From 99d49220df2285bf67000f1c8a48bf7eafaefc37 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 21 Feb 2013 16:30:01 +0100 Subject: [PATCH] panel is a Dock --- src/shell/panelview.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/shell/panelview.cpp b/src/shell/panelview.cpp index 125a20494..37610ce2b 100644 --- a/src/shell/panelview.cpp +++ b/src/shell/panelview.cpp @@ -20,6 +20,7 @@ #include +#include #include #include @@ -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()