aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
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;