From c318ce9f682e91dceafeb9e9a04421415ffc5404 Mon Sep 17 00:00:00 2001 From: rathnor Date: Fri, 25 Apr 2003 11:27:13 +0000 Subject: small fix for gcc 3.3 compile bug (Simon) --- ChangeLog | 2 ++ src/Window.cc | 9 ++++++++- src/Window.hh | 7 +------ 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9845fac..1588fbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ (Format: Year/Month/Day) Changes for 0.9.2: *03/04/25: + * Fix small gcc 3.3 build issue (Simon) + Window.hh/cc * Add UnderMousePlacement policy, plus minor positioning fix (Simon) -> Patch originally contributed by "Mike" (lgn@users.sf) Screen.hh Workspace.cc fluxbox.cc Window.cc diff --git a/src/Window.cc b/src/Window.cc index 3cb6fcb..a6a5a6b 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.146 2003/04/25 11:11:27 fluxgen Exp $ +// $Id: Window.cc,v 1.147 2003/04/25 11:27:11 rathnor Exp $ #include "Window.hh" @@ -186,6 +186,12 @@ private: }; +template <> +void LayerMenuItem::click(int button, int time) { + m_object->moveToLayer(m_layernum); +} + + FluxboxWindow::FluxboxWindow(WinClient &client, BScreen &scr, FbWinFrameTheme &tm, FbTk::MenuTheme &menutheme, FbTk::XLayer &layer): @@ -3181,3 +3187,4 @@ void FluxboxWindow::sendConfigureNotify() { screen.updateNetizenConfigNotify(&event); } // end for } + diff --git a/src/Window.hh b/src/Window.hh index 4a8065e..16e606d 100644 --- a/src/Window.hh +++ b/src/Window.hh @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.hh,v 1.60 2003/04/20 15:11:48 rathnor Exp $ +// $Id: Window.hh,v 1.61 2003/04/25 11:27:13 rathnor Exp $ #ifndef WINDOW_HH #define WINDOW_HH @@ -422,10 +422,5 @@ private: }; -template <> -void LayerMenuItem::click(int button, int time) { - m_object->moveToLayer(m_layernum); -} - #endif // WINDOW_HH -- cgit v0.11.2