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

Window painting over border when clicked on #310

Closed
ghost opened this issue Nov 12, 2019 · 5 comments
Closed

Window painting over border when clicked on #310

ghost opened this issue Nov 12, 2019 · 5 comments
Labels
question Request for information or help, not an issue

Comments

@ghost
Copy link

ghost commented Nov 12, 2019

When I hover over a window the border appears as usual. However, when I click on the window or interact with it somehow, it seems that the window repaints over the border and looks smaller.

This only started happening after I upgraded from bf3a656 to new commit 3e99cee.

funnyborders

@koekeishiya
Copy link
Owner

koekeishiya commented Nov 12, 2019

Add yabai -m config active_window_border_topmost on to get back the old behaviour.

@koekeishiya koekeishiya added the question Request for information or help, not an issue label Nov 12, 2019
@lvadla
Copy link

lvadla commented Oct 14, 2020

Does yabai -m config active_window_border_topmost on require SIP to be off?

@koekeishiya
Copy link
Owner

This setting no longer exists. It was a part of the border implementtatio back in version 2.x.x.
In the latest version (3.x.x), window borders require sip to be disabled.

@braham-snyder
Copy link

braham-snyder commented Dec 26, 2020

I ran into a bug after updating to Big Sur that was at least superficially similar, but I fixed it.

In my case, I think I could only see the borders at the four corners of each window. I'm not sure what was causing the broken border state, but restarting yabai would only temporarily fix it.

I think there's some chance uncommenting the two lines at the top of .yabairc for Big Sur (to load the scripting addition), plus an additional yabai restart, is what fixed it.

keywords for search: obscured, partially visible, blocked, edges

@isaiahtaylor
Copy link

In case it's helpful to anyone, I'm on Big Sur and also had the issue of borders being behind windows once you click on them. The "top two lines" @braham-snyder is talking about are these:

sudo yabai --load-sa
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"

Adding these to my yabairc fixed the issue for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Request for information or help, not an issue
Projects
None yet
Development

No branches or pull requests

4 participants