all repos — fluxbox @ a092d3fc1b351a4c6ea1d95757b5244bf86b8a39

custom fork of the fluxbox windowmanager

fixed gcc 2.96 compile problem
fluxgen fluxgen
commit

a092d3fc1b351a4c6ea1d95757b5244bf86b8a39

parent

e7513df45fce2bfbbac8b764e07627dfe36e6ba5

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

jump to
M ChangeLogChangeLog

@@ -1,6 +1,8 @@

(Format: Year/Month/Day) Changes for 1.0.1: *07/10/24: + * Fixed some gcc 2.96 compile issues ( Henrik ) + Layer.hh, MinOverlapPlacement.cc, Workspace.cc * Introduced (workspacename=...) for pattern matching and changed (workspace=...) to use the workspace number, indexed from 0 (Mark) ClientPattern.cc/hh
M src/Layer.hhsrc/Layer.hh

@@ -23,6 +23,8 @@ #ifndef LAYER_HH

#define LAYER_HH #include <string> +#include <stdio.h> + using std::string; /**
M src/MinOverlapPlacement.ccsrc/MinOverlapPlacement.cc

@@ -155,7 +155,7 @@ for (; reg_it != region_set.end(); ++reg_it) {

int overlap = 0; it = windowlist.rbegin(); - for (; it != windowlist.rend(); ++it) { + for (; it != it_end; ++it) { // get the dimensions of the window int left = (*it)->x() - (*it)->xOffset();
M src/Workspace.ccsrc/Workspace.cc

@@ -136,7 +136,7 @@

void Workspace::removeAll(unsigned int dest) { Windows tmp_list(m_windowlist); Windows::iterator it = tmp_list.begin(); - Windows::const_iterator it_end = tmp_list.end(); + Windows::iterator it_end = tmp_list.end(); for (; it != it_end; ++it) m_screen.sendToWorkspace(dest, *it, false); }