diff options
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index 4157178..ecb0142 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.95 2004/06/07 11:46:04 rathnor Exp $ | 25 | // $Id: Slit.cc,v 1.96 2004/06/07 21:36:06 fluxgen Exp $ |
26 | 26 | ||
27 | #include "Slit.hh" | 27 | #include "Slit.hh" |
28 | 28 | ||
@@ -247,12 +247,7 @@ Slit::Slit(BScreen &scr, FbTk::XLayer &layer, const char *filename) | |||
247 | m_clientlist_menu(scr.menuTheme(), | 247 | m_clientlist_menu(scr.menuTheme(), |
248 | scr.imageControl(), | 248 | scr.imageControl(), |
249 | *scr.layerManager().getLayer(Fluxbox::instance()->getMenuLayer())), | 249 | *scr.layerManager().getLayer(Fluxbox::instance()->getMenuLayer())), |
250 | m_layermenu(new LayerMenu<Slit>(scr.menuTheme(), | 250 | //For KDE dock applets |
251 | scr.imageControl(), | ||
252 | *scr.layerManager().getLayer(Fluxbox::instance()->getMenuLayer()), | ||
253 | this, | ||
254 | true)), | ||
255 | //For KDE dock applets | ||
256 | m_kwm1_dockwindow(XInternAtom(FbTk::App::instance()->display(), | 251 | m_kwm1_dockwindow(XInternAtom(FbTk::App::instance()->display(), |
257 | "KWM_DOCKWINDOW", False)), //KDE v1.x | 252 | "KWM_DOCKWINDOW", False)), //KDE v1.x |
258 | m_kwm2_dockwindow(XInternAtom(FbTk::App::instance()->display(), | 253 | m_kwm2_dockwindow(XInternAtom(FbTk::App::instance()->display(), |
@@ -316,6 +311,12 @@ Slit::Slit(BScreen &scr, FbTk::XLayer &layer, const char *filename) | |||
316 | 311 | ||
317 | frame.window.setAlpha(*m_rc_alpha); | 312 | frame.window.setAlpha(*m_rc_alpha); |
318 | m_layeritem.reset(new FbTk::XLayerItem(frame.window, layer)); | 313 | m_layeritem.reset(new FbTk::XLayerItem(frame.window, layer)); |
314 | m_layermenu.reset(new LayerMenu<Slit>(scr.menuTheme(), | ||
315 | scr.imageControl(), | ||
316 | *scr.layerManager(). | ||
317 | getLayer(Fluxbox::instance()->getMenuLayer()), | ||
318 | this, | ||
319 | true)); | ||
319 | moveToLayer((*m_rc_layernum).getNum()); | 320 | moveToLayer((*m_rc_layernum).getNum()); |
320 | 321 | ||
321 | if (m_layermenu.get()) | 322 | if (m_layermenu.get()) |