Skip to content

Question about focused border #861

Answered by urob
marc-hg asked this question in Q&A
Apr 8, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Re: transparency issues. The border is currently implemented by displaying a solid rectangle behind the active window, causing transparent windows to be tainted. There are plans to consider alternatives (#669), but for now the only alternative is to disable the Focus Indicator. (There is a toggle command for the focus indicator, which can be bound to a short-cut).

Re: selective disabling of the Focus Indicator. For now there is no such build-in algorithm. It seems like a good idea.

Re: width + color. The documentation is a bit lacking. But, yes, those are configurable options indeed. Here's a snippet that should do the job:

// Width of Focus indicator
int borderSize = 4;

// Color of Focu…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@marc-hg
Comment options

Answer selected by marc-hg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants