aboutsummaryrefslogtreecommitdiff
path: root/src
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
parent1bcc966153a557b6ab3ba236c9e468dbf0a2620e (diff)
downloadfluxbox-35d1017959512acd9c2547d0eef76d73660c972e.zip
fluxbox-35d1017959512acd9c2547d0eef76d73660c972e.tar.bz2
removed KDE configure option
Diffstat (limited to 'src')
-rw-r--r--src/Slit.cc15
-rw-r--r--src/main.cc5
2 files changed, 4 insertions, 16 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);
diff --git a/src/main.cc b/src/main.cc
index 677ed0e..01b7d6e 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -126,11 +126,6 @@ static void showInfo(ostream &ostr) {
126#endif // HAVE_IMLIB2 126#endif // HAVE_IMLIB2
127 "IMLIB2"<<endl<< 127 "IMLIB2"<<endl<<
128 128
129#ifndef KDE
130 NOT<<
131#endif // KDE
132 "KDE"<<endl<<
133
134#ifndef NLS 129#ifndef NLS
135 NOT<< 130 NOT<<
136#endif // NLS 131#endif // NLS