diff options
author | fluxgen <fluxgen> | 2007-10-24 19:38:27 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2007-10-24 19:38:27 (GMT) |
commit | a092d3fc1b351a4c6ea1d95757b5244bf86b8a39 (patch) | |
tree | c6680f8a1e5cc4eec176d8d608bbd08dc95910ec /src | |
parent | e7513df45fce2bfbbac8b764e07627dfe36e6ba5 (diff) | |
download | fluxbox_lack-a092d3fc1b351a4c6ea1d95757b5244bf86b8a39.zip fluxbox_lack-a092d3fc1b351a4c6ea1d95757b5244bf86b8a39.tar.bz2 |
fixed gcc 2.96 compile problem
Diffstat (limited to 'src')
-rw-r--r-- | src/Layer.hh | 2 | ||||
-rw-r--r-- | src/MinOverlapPlacement.cc | 2 | ||||
-rw-r--r-- | src/Workspace.cc | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/Layer.hh b/src/Layer.hh index e86c090..aa99506 100644 --- a/src/Layer.hh +++ b/src/Layer.hh | |||
@@ -23,6 +23,8 @@ | |||
23 | #define LAYER_HH | 23 | #define LAYER_HH |
24 | 24 | ||
25 | #include <string> | 25 | #include <string> |
26 | #include <stdio.h> | ||
27 | |||
26 | using std::string; | 28 | using std::string; |
27 | 29 | ||
28 | /** | 30 | /** |
diff --git a/src/MinOverlapPlacement.cc b/src/MinOverlapPlacement.cc index 510f66e..ce7ff3c 100644 --- a/src/MinOverlapPlacement.cc +++ b/src/MinOverlapPlacement.cc | |||
@@ -155,7 +155,7 @@ bool MinOverlapPlacement::placeWindow(const FluxboxWindow &win, int head, | |||
155 | 155 | ||
156 | int overlap = 0; | 156 | int overlap = 0; |
157 | it = windowlist.rbegin(); | 157 | it = windowlist.rbegin(); |
158 | for (; it != windowlist.rend(); ++it) { | 158 | for (; it != it_end; ++it) { |
159 | 159 | ||
160 | // get the dimensions of the window | 160 | // get the dimensions of the window |
161 | int left = (*it)->x() - (*it)->xOffset(); | 161 | int left = (*it)->x() - (*it)->xOffset(); |
diff --git a/src/Workspace.cc b/src/Workspace.cc index 73ed077..cd899c6 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -136,7 +136,7 @@ void Workspace::hideAll(bool interrupt_moving) { | |||
136 | void Workspace::removeAll(unsigned int dest) { | 136 | void Workspace::removeAll(unsigned int dest) { |
137 | Windows tmp_list(m_windowlist); | 137 | Windows tmp_list(m_windowlist); |
138 | Windows::iterator it = tmp_list.begin(); | 138 | Windows::iterator it = tmp_list.begin(); |
139 | Windows::const_iterator it_end = tmp_list.end(); | 139 | Windows::iterator it_end = tmp_list.end(); |
140 | for (; it != it_end; ++it) | 140 | for (; it != it_end; ++it) |
141 | m_screen.sendToWorkspace(dest, *it, false); | 141 | m_screen.sendToWorkspace(dest, *it, false); |
142 | } | 142 | } |