all repos — fluxbox @ 85d572ee7e11878896ad5173edc1aacd8b3c36a9

custom fork of the fluxbox windowmanager

fixed cache bug
fluxgen fluxgen
commit

85d572ee7e11878896ad5173edc1aacd8b3c36a9

parent

b4fc4b5793b81d1ff67caa5086caa873bfe7e441

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

jump to
M src/FbTk/ImageControl.hhsrc/FbTk/ImageControl.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: ImageControl.hh,v 1.6 2003/12/16 17:06:51 fluxgen Exp $ +// $Id: ImageControl.hh,v 1.7 2004/01/02 13:27:29 fluxgen Exp $ #ifndef FBTK_IMAGECONTROL_HH #define FBTK_IMAGECONTROL_HH

@@ -74,7 +74,6 @@ void setDither(bool d) { m_dither = d; }

void setColorsPerChannel(int cpc); void cleanCache(); - private: /** Search cache for a specific pixmap

@@ -85,7 +84,6 @@ const FbTk::Color &color, const FbTk::Color &color_to) const;

void createColorTable(); bool m_dither; - Timer m_timer; Colormap m_colormap;

@@ -124,7 +122,7 @@ return

(s1->width < s2->width || s1->width == s2->width && (s1->height < s2->height || s1->height == s2->height && (s1->texture < s2->texture || s1->texture == s2->texture && - s1->pixel1 < s2->pixel1 || s1->pixel1 == s2->pixel2 && + s1->pixel1 < s2->pixel1 || s1->pixel1 == s2->pixel1 && (s1->texture & FbTk::Texture::GRADIENT) && s1->pixel2 < s2->pixel2) ));