Code Monkey home page Code Monkey logo

Comments (4)

dominiklohmann avatar dominiklohmann commented on August 26, 2024

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.

koekeishiya avatar koekeishiya commented on August 26, 2024

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.

koekeishiya avatar koekeishiya commented on August 26, 2024

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.

koekeishiya avatar koekeishiya commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.