Skip to content

Echinus*border being interpreted as color value causes crash #15

@msiism

Description

@msiism

There's something wrong with the implementation of the Echinus*border setting.

It works fine as long as you have both Echinus*normal.border and Echinus*selected.border (which define colors) set in echinusrc. But as soon as you drop one of them, things break.

On my Slackware 14.2 system, the X server exits saying:

error, cannot allocate color '1'

1 is the value of Echinus*border in this case. I have also tested this on Devuan 2.0.0. The error message is just e color '1' there, for whatever reason, but the effect is exactly the same.

This error even seems to make sense. If I understand Xresources syntax right, Echinus*border is simply a way to refer to Echinus*normal.border and Echinus*normal.border at the same time because the asterisk acts as a wildcard. So, the solution is probably to rename Echinus*border.

The naming scheme for Echinus' settings should probably be revised a bit in general.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions