Comments (4)
Is there a specific use case outside of querying? For window queries, maybe always show both focused=0/1 and active=0/1?
from yabai.
When window opacity is enabled it will lower the alpha of windows on external displays as they are not the focused window. This pretty much makes that functionality obsolete in multi-display environments.
There may be other situations where having this distinction would be helpful, but I have not yet thought that far ahead.
from yabai.
There is really no good way to track if a window is active or not. There are too many unpredictable ways that might screw with us. Instead of trying to track whether a window is active or not, we simply perform a bit more sophisticated checking when trying to see if the window should be "deactivated".
This will allow the active window of a display to maintain its active border color and window opacity when focus switches to a window located on a different display.
from yabai.
Decided to undo these changes because it went down a path that just felt really messed up. While this is kind off annoying to me it is a more consistent behaviour - rather than trying all kinds of tricks to work around this. I think consistency in behaviour is more important at this time.
Might revisit in the future.
from yabai.
Related Issues (20)
- Slow system if app is irresponsive HOT 7
- Screen recording permission requested even when window animation disabled HOT 3
- Moving Windows Across Spaces No Longer Works in MacOS 15.0 HOT 11
- CVDisplayLink API deprecated in macOS > 15.0 HOT 5
- Labeling windows HOT 3
- Application minimizes after exiting full screen mode
- Yabai incompatability with SDL3 HOT 3
- Applying padding to windows in "float" mode
- Put new window next in stack vs top HOT 5
- Can't move focus to another display when using Little Arc in fullscreen Arc
- Feature request: Only padding option
- Yabai does not respond to commands HOT 1
- Spurious "is-grabbed" field when querying for "scratchpad" HOT 1
- Hide all scratchpad windows
- Persist space labels
- Sticky scratchpad windows? HOT 2
- "current" as selection value
- Move window in stack
- Ignoring launcher window HOT 1
- debug_output on by default in config HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yabai.