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

contrib/inactive-window-transparency.py keeps last active window on other monitor active #5372

Closed
evils opened this issue May 22, 2020 · 1 comment

Comments

@evils
Copy link

evils commented May 22, 2020

  • Sway Version: 1.4

contrib/inactive-window-transparency.py (as included in tag 1.4 and currently on master)
does not make inactive windows on other monitors transparent if they were previously active

@Xyene
Copy link
Member

Xyene commented May 23, 2020

This appears to be intentional behavior rather than a bug, which was introduced in 6235423.

focused.command("opacity 1")
if workspace == prev_workspace:
prev_focused.command("opacity " + inactive_opacity)

The utilities under contrib/ are extra-zero-warranty community-maintained, so if you'd like to change the behavior, feel free to send in a pull request. Preferably, I'd say changing this behavior should be behind a flag, since it seems (by the existence of this issue) that the correct behavior here is subjective.

I'm going to go ahead and close this issue (due to the extra-zero-warranty part), but I'd be happy to review a pull request.

@Xyene Xyene closed this as completed May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants