diff options
author | rathnor <rathnor> | 2004-06-21 15:23:42 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-06-21 15:23:42 (GMT) |
commit | 965086f39d807fc83b6b2605b7858a9baa9ee2f0 (patch) | |
tree | c19745edf475b209b2c5c06b04812062276e4269 /src/Screen.cc | |
parent | 6a51cefb2f67c041f19cbb3842adb81ff54b4771 (diff) | |
download | fluxbox-965086f39d807fc83b6b2605b7858a9baa9ee2f0.zip fluxbox-965086f39d807fc83b6b2605b7858a9baa9ee2f0.tar.bz2 |
tidying up initialisation with dockapps
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index f90b3dc..14a701f 100644 --- a/src/Screen.cc +++ b/src/Screen.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: Screen.cc,v 1.282 2004/06/19 15:04:27 rathnor Exp $ | 25 | // $Id: Screen.cc,v 1.283 2004/06/21 15:23:41 rathnor Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
@@ -1098,28 +1098,6 @@ bool BScreen::addKdeDockapp(Window client) { | |||
1098 | return true; | 1098 | return true; |
1099 | } | 1099 | } |
1100 | 1100 | ||
1101 | void BScreen::setupKdeDockapps() { | ||
1102 | #ifdef SLIT | ||
1103 | if (slit() == 0) | ||
1104 | return; | ||
1105 | // kde dockapps end up in the slit at start | ||
1106 | Slit::SlitClients::iterator it = slit()->clients().begin(); | ||
1107 | Slit::SlitClients::iterator it_end = slit()->clients().end(); | ||
1108 | std::list<Window> winlist; | ||
1109 | for (; it != it_end; ++it) { | ||
1110 | if (isKdeDockapp((*it)->window())) { | ||
1111 | winlist.push_back((*it)->window()); | ||
1112 | slit()->removeClient((*it)->window()); | ||
1113 | } | ||
1114 | } | ||
1115 | std::list<Window>::iterator win_it = winlist.begin(); | ||
1116 | std::list<Window>::iterator win_it_end = winlist.end(); | ||
1117 | for (; win_it != win_it_end; ++win_it) { | ||
1118 | createWindow(*win_it); | ||
1119 | } | ||
1120 | #endif // SLIT | ||
1121 | } | ||
1122 | |||
1123 | FluxboxWindow *BScreen::createWindow(Window client) { | 1101 | FluxboxWindow *BScreen::createWindow(Window client) { |
1124 | FbTk::App::instance()->sync(false); | 1102 | FbTk::App::instance()->sync(false); |
1125 | 1103 | ||