aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-04-25 11:27:13 (GMT)
committerrathnor <rathnor>2003-04-25 11:27:13 (GMT)
commitc318ce9f682e91dceafeb9e9a04421415ffc5404 (patch)
treee9be81e39148eaa5db4c54163d2dc3ad3ccd5fd9
parent4b1343f4ae4ee9c7ffed63941881c6bac40a2809 (diff)
downloadfluxbox_pavel-c318ce9f682e91dceafeb9e9a04421415ffc5404.zip
fluxbox_pavel-c318ce9f682e91dceafeb9e9a04421415ffc5404.tar.bz2
small fix for gcc 3.3 compile bug (Simon)
-rw-r--r--ChangeLog2
-rw-r--r--src/Window.cc9
-rw-r--r--src/Window.hh7
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 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.2: 2Changes for 0.9.2:
3*03/04/25: 3*03/04/25:
4 * Fix small gcc 3.3 build issue (Simon)
5 Window.hh/cc
4 * Add UnderMousePlacement policy, plus minor positioning fix (Simon) 6 * Add UnderMousePlacement policy, plus minor positioning fix (Simon)
5 -> Patch originally contributed by "Mike" (lgn@users.sf) 7 -> Patch originally contributed by "Mike" (lgn@users.sf)
6 Screen.hh Workspace.cc fluxbox.cc Window.cc 8 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 @@
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: Window.cc,v 1.146 2003/04/25 11:11:27 fluxgen Exp $ 25// $Id: Window.cc,v 1.147 2003/04/25 11:27:11 rathnor Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
@@ -186,6 +186,12 @@ private:
186 186
187}; 187};
188 188
189template <>
190void LayerMenuItem<FluxboxWindow>::click(int button, int time) {
191 m_object->moveToLayer(m_layernum);
192}
193
194
189FluxboxWindow::FluxboxWindow(WinClient &client, BScreen &scr, FbWinFrameTheme &tm, 195FluxboxWindow::FluxboxWindow(WinClient &client, BScreen &scr, FbWinFrameTheme &tm,
190 FbTk::MenuTheme &menutheme, 196 FbTk::MenuTheme &menutheme,
191 FbTk::XLayer &layer): 197 FbTk::XLayer &layer):
@@ -3181,3 +3187,4 @@ void FluxboxWindow::sendConfigureNotify() {
3181 screen.updateNetizenConfigNotify(&event); 3187 screen.updateNetizenConfigNotify(&event);
3182 } // end for 3188 } // end for
3183} 3189}
3190
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 @@
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: Window.hh,v 1.60 2003/04/20 15:11:48 rathnor Exp $ 25// $Id: Window.hh,v 1.61 2003/04/25 11:27:13 rathnor Exp $
26 26
27#ifndef WINDOW_HH 27#ifndef WINDOW_HH
28#define WINDOW_HH 28#define WINDOW_HH
@@ -422,10 +422,5 @@ private:
422 422
423}; 423};
424 424
425template <>
426void LayerMenuItem<FluxboxWindow>::click(int button, int time) {
427 m_object->moveToLayer(m_layernum);
428}
429
430 425
431#endif // WINDOW_HH 426#endif // WINDOW_HH