all repos — fluxbox @ 6d8b1e0656e56946a15574c5f04152f99430ad6b

custom fork of the fluxbox windowmanager

new color handling
fluxgen fluxgen
commit

6d8b1e0656e56946a15574c5f04152f99430ad6b

parent

afd7e5a6b7043812e472994dd2f49941094ee080

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

jump to
M src/Theme.ccsrc/Theme.cc

@@ -41,7 +41,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: Theme.cc,v 1.26 2002/08/24 19:06:06 fluxgen Exp $ +// $Id: Theme.cc,v 1.27 2002/09/14 16:39:16 fluxgen Exp $ #ifndef _GNU_SOURCE #define _GNU_SOURCE

@@ -851,11 +851,8 @@ char *value_type;

if (XrmGetResource(m_database, rname, rclass, &value_type, &value)) { - m_imagecontrol->parseColor(color, value.addr); + color->setFromString(value.addr, m_screennum); } else { - // parsing with no color string just deallocates the color, if it has - // been previously allocated - m_imagecontrol->parseColor(color); color->setPixel(default_pixel); return false; }