aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index fdfe7a1..393cb9a 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Slit.cc,v 1.25 2002/11/15 12:13:56 fluxgen Exp $ 25// $Id: Slit.cc,v 1.26 2002/11/15 12:31:58 fluxgen Exp $
26 26
27//use GNU extensions 27//use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -153,6 +153,7 @@ Slit::~Slit() {
153 153
154 154
155void Slit::addClient(Window w) { 155void Slit::addClient(Window w) {
156
156 //Can't add non existent window 157 //Can't add non existent window
157 if (w == None) 158 if (w == None)
158 return; 159 return;
@@ -214,6 +215,7 @@ void Slit::addClient(Window w) {
214 } 215 }
215 XWindowAttributes attrib; 216 XWindowAttributes attrib;
216#ifdef KDE 217#ifdef KDE
218 Fluxbox *fluxbox = Fluxbox::instance();
217 //Check and see if new client is a KDE dock applet 219 //Check and see if new client is a KDE dock applet
218 //If so force reasonable size 220 //If so force reasonable size
219 bool iskdedockapp=false; 221 bool iskdedockapp=false;