From d5aa50bee68cae120bc0c150d31eab17337fc490 Mon Sep 17 00:00:00 2001
From: markt <markt>
Date: Thu, 13 Sep 2007 22:11:12 +0000
Subject: move dock windows to DOCK layer and remove decorations

---
 ChangeLog   | 3 +++
 src/Ewmh.cc | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 2c97f63..aeb7364 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
  (Format: Year/Month/Day)
 Changes for 1.0.0:
+*07/09/13:
+   * Move dock windows to Dock layer and remove decorations (Mark)
+     Ewmh.cc
 *07/09/09:
    * Added support for Slovak language ( Thanks Martin Lukac )
      nls/sk_SK/*
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index 0c5e164..de4377b 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -278,6 +278,8 @@ void Ewmh::setupFrame(FluxboxWindow &win) {
                 // we also assume it shouldn't be visible in any toolbar
                 win.setFocusHidden(true);
                 win.setIconHidden(true);
+                win.setDecoration(FluxboxWindow::DECOR_NONE);
+                win.moveToLayer(Layer::DOCK);
             } else if (atoms[l] == m_net_wm_window_type_desktop) {
                 /*
                  * _NET_WM_WINDOW_TYPE_DESKTOP indicates a "false desktop" window
-- 
cgit v0.11.2