diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 4f42539..afbd90f 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1278,7 +1278,7 @@ bool BScreen::addKdeDockapp(Window client) { | |||
1278 | FbTk::EventManager *evm = FbTk::EventManager::instance(); | 1278 | FbTk::EventManager *evm = FbTk::EventManager::instance(); |
1279 | if (handler == 0) { | 1279 | if (handler == 0) { |
1280 | #ifdef SLIT | 1280 | #ifdef SLIT |
1281 | if (slit() != 0) | 1281 | if (slit() != 0 && slit()->acceptKdeDockapp()) |
1282 | slit()->addClient(client); | 1282 | slit()->addClient(client); |
1283 | else | 1283 | else |
1284 | #endif // SLIT | 1284 | #endif // SLIT |
@@ -1311,7 +1311,7 @@ FluxboxWindow *BScreen::createWindow(Window client) { | |||
1311 | if (winclient->initial_state == WithdrawnState) { | 1311 | if (winclient->initial_state == WithdrawnState) { |
1312 | delete winclient; | 1312 | delete winclient; |
1313 | #ifdef SLIT | 1313 | #ifdef SLIT |
1314 | if (slit()) | 1314 | if (slit() && !isKdeDockapp(client)) |
1315 | slit()->addClient(client); | 1315 | slit()->addClient(client); |
1316 | #endif // SLIT | 1316 | #endif // SLIT |
1317 | return 0; | 1317 | return 0; |