all repos — fluxbox @ 34e479a1d4b8fbaf14c23094742541df5a393ce0

custom fork of the fluxbox windowmanager

dont need to call constructor with menutheme
fluxgen fluxgen
commit

34e479a1d4b8fbaf14c23094742541df5a393ce0

parent

6e416d3e406fa6376d3fcde1eb0fd7d3f7d156ae

2 files changed, 4 insertions(+), 6 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.202 2003/07/04 01:03:40 rathnor Exp $ +// $Id: Window.cc,v 1.203 2003/07/10 11:33:31 fluxgen Exp $ #include "Window.hh"

@@ -220,7 +220,6 @@ m_object->moveToLayer(m_layernum);

} FluxboxWindow::FluxboxWindow(WinClient &client, BScreen &scr, FbWinFrameTheme &tm, - FbTk::MenuTheme &menutheme, FbTk::XLayer &layer): oplock(false), m_hintsig(*this),

@@ -235,13 +234,13 @@ maximized(MAX_NONE),

m_screen(scr), m_timer(this), display(0), - m_layermenu(new LayerMenu<FluxboxWindow>(menutheme, + m_layermenu(new LayerMenu<FluxboxWindow>(*scr.menuTheme(), scr.screenNumber(), scr.imageControl(), *scr.layerManager().getLayer(Fluxbox::instance()->getMenuLayer()), this, false)), - m_windowmenu(menutheme, scr.screenNumber(), scr.imageControl()), + m_windowmenu(*scr.menuTheme(), scr.screenNumber(), scr.imageControl()), m_old_decoration(DECOR_NORMAL), m_client(&client), m_frame(new FbWinFrame(tm, scr.imageControl(), scr.screenNumber(), 0, 0, 100, 100)),
M src/Window.hhsrc/Window.hh

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.hh,v 1.82 2003/06/25 13:37:06 fluxgen Exp $ +// $Id: Window.hh,v 1.83 2003/07/10 11:32:57 fluxgen Exp $ #ifndef WINDOW_HH #define WINDOW_HH

@@ -148,7 +148,6 @@

/// create a window from a client FluxboxWindow(WinClient &client, BScreen &scr, FbWinFrameTheme &tm, - FbTk::MenuTheme &menutheme, FbTk::XLayer &layer); virtual ~FluxboxWindow();