diff options
author | fluxgen <fluxgen> | 2002-11-15 12:31:58 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-11-15 12:31:58 (GMT) |
commit | 8515c1dc152d879ca4709fc36776bf058e96a235 (patch) | |
tree | cf11d4a2ceb4a900966e892324368d9851a351ca | |
parent | 59daed1cdc67a5f3b7706c0638d0195156ea3483 (diff) | |
download | fluxbox-8515c1dc152d879ca4709fc36776bf058e96a235.zip fluxbox-8515c1dc152d879ca4709fc36776bf058e96a235.tar.bz2 |
fluxbox in KDE option
-rw-r--r-- | src/Slit.cc | 4 |
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 | ||
155 | void Slit::addClient(Window w) { | 155 | void 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; |