aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-25 06:36:22 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-25 06:36:22 (GMT)
commit1bcc966153a557b6ab3ba236c9e468dbf0a2620e (patch)
tree15bb21d9c689e0d318d681f063873ba3de62644f /src/Slit.cc
parent9daf464b2812027c4a5a074f23896457471109f1 (diff)
downloadfluxbox-1bcc966153a557b6ab3ba236c9e468dbf0a2620e.zip
fluxbox-1bcc966153a557b6ab3ba236c9e468dbf0a2620e.tar.bz2
added resource session.screen<N>.slit.acceptKdeDockapps
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 0b952c5..dbbb3ac 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -286,6 +286,8 @@ Slit::Slit(BScreen &scr, FbTk::XLayer &layer, const char *filename)
286 m_strut(0), 286 m_strut(0),
287 // resources 287 // resources
288 // lock in first resource 288 // lock in first resource
289 m_rc_kde_dockapp(scr.resourceManager(), true,
290 scr.name() + ".slit.acceptKdeDockapps", scr.altName() + ".Slit.AcceptKdeDockapps"),
289 m_rc_auto_hide(scr.resourceManager().lock(), false, 291 m_rc_auto_hide(scr.resourceManager().lock(), false,
290 scr.name() + ".slit.autoHide", scr.altName() + ".Slit.AutoHide"), 292 scr.name() + ".slit.autoHide", scr.altName() + ".Slit.AutoHide"),
291 // TODO: this resource name must change 293 // TODO: this resource name must change
@@ -442,6 +444,9 @@ void Slit::addClient(Window w) {
442 if (w == None) 444 if (w == None)
443 return; 445 return;
444 446
447 if (!acceptKdeDockapp() && screen().isKdeDockapp(w))
448 return;
449
445 // Look for slot in client list by name 450 // Look for slot in client list by name
446 SlitClient *client = 0; 451 SlitClient *client = 0;
447 string match_name; 452 string match_name;