Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
msiism opened this issue Apr 29, 2019 · 1 comment
Open

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

msiism opened this issue Apr 29, 2019 · 1 comment

Comments

@msiism
Copy link

msiism commented Apr 29, 2019

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.

@polachok
Copy link
Owner

polachok commented May 6, 2019

Hi, sorry for the long reply. I think your explanation is correct. Unfortunately, echinus is no longer maintained (I just added a note to README).

Thinking about it, replacing * with . in echinusrc might work, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants