aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-06-07 21:36:06 (GMT)
committerfluxgen <fluxgen>2004-06-07 21:36:06 (GMT)
commit3e52976eacb826bcb6651d7e7501468dd30f0b62 (patch)
treeac4323393e12fba1fd262bf07b198aab7127bf14 /src/Slit.cc
parentaaa72eada26a8e63ea685d940332bf2fd4795df8 (diff)
downloadfluxbox-3e52976eacb826bcb6651d7e7501468dd30f0b62.zip
fluxbox-3e52976eacb826bcb6651d7e7501468dd30f0b62.tar.bz2
minor fix
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc15
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())