aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-15 12:31:58 (GMT)
committerfluxgen <fluxgen>2002-11-15 12:31:58 (GMT)
commit8515c1dc152d879ca4709fc36776bf058e96a235 (patch)
treecf11d4a2ceb4a900966e892324368d9851a351ca /src
parent59daed1cdc67a5f3b7706c0638d0195156ea3483 (diff)
downloadfluxbox_paul-8515c1dc152d879ca4709fc36776bf058e96a235.zip
fluxbox_paul-8515c1dc152d879ca4709fc36776bf058e96a235.tar.bz2
fluxbox in KDE option
Diffstat (limited to 'src')
-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;