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

Background colour for window when no file is open is white #14

Open
zakkor opened this issue Mar 24, 2020 · 1 comment
Open

Background colour for window when no file is open is white #14

zakkor opened this issue Mar 24, 2020 · 1 comment

Comments

@zakkor
Copy link

zakkor commented Mar 24, 2020

image
(See picture) - As far as I can see there's no way of theming the white background that appears when no file is open?

@pearcidar
Copy link

pearcidar commented Jun 17, 2024

I had the same problem, but there seems to be a hardcoded workaround for this in acme.c in line 558:

if(getwindow(display, Refnone) < 0)
	error("attach to window");
draw(screen, screen->r, display->white, nil, ZP);
iconinit();
scrlresize();

changing white to black works, it makes the background black as expected. I'm not sure about other colors though. Also it kinda works as the background is not white at startup. after closing the files the white background reappears though. So not a complete fix

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