aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-25 06:49:46 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-25 06:49:46 (GMT)
commit35d1017959512acd9c2547d0eef76d73660c972e (patch)
treeb5e650eaeb97bce4521426e21698a55bdafe3070 /src/Slit.cc
parent1bcc966153a557b6ab3ba236c9e468dbf0a2620e (diff)
downloadfluxbox-35d1017959512acd9c2547d0eef76d73660c972e.zip
fluxbox-35d1017959512acd9c2547d0eef76d73660c972e.tar.bz2
removed KDE configure option
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index dbbb3ac..7716813 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -515,19 +515,12 @@ void Slit::addClient(Window w) {
515 515
516 XWindowAttributes attrib; 516 XWindowAttributes attrib;
517 517
518#ifdef KDE
519 if (screen().isKdeDockapp(w)) 518 if (screen().isKdeDockapp(w))
520 client->resize(24, 24); 519 client->resize(24, 24);
521 else 520 else if (XGetWindowAttributes(disp, client->window(), &attrib))
522#endif // KDE 521 client->resize(attrib.width, attrib.height);
523 522 else // set default size if we failed to get window attributes
524 { 523 client->resize(64, 64);
525 if (XGetWindowAttributes(disp, client->window(), &attrib)) {
526 client->resize(attrib.width, attrib.height);
527 } else { // set default size if we failed to get window attributes
528 client->resize(64, 64);
529 }
530 }
531 524
532 // disable border for client window 525 // disable border for client window
533 XSetWindowBorderWidth(disp, client->window(), 0); 526 XSetWindowBorderWidth(disp, client->window(), 0);