Giter VIP home page Giter VIP logo

Comments (4)

pockata avatar pockata commented on July 22, 2024

@Wildefyr, a bit late, but this looks like expected behavior. It's how masks work.
If you want to listen for XCB_MASK_BUTTON_PRESS and XCB_EVENT_MASK_ENTER_WINDOW, you need to run wew -m 20

Please note that currently when listening to XCB_EVENT_MASK_BUTTON_PRESS the keypress/keyrelease events do not get passed down to the window (which renders it rather useless).
I'm working on a fix as discussed in #8. I have a partial solution up and running, but it has a caveat - only the keypress event gets passed down to the window, and the keyrelease gets lost in the wind.

from opt.

lwilletts avatar lwilletts commented on July 22, 2024

Yes you're quite right it seems! I look forward to this fix. (goodbye sloppy mouse!)

from opt.

z3bra avatar z3bra commented on July 22, 2024

If all you want is click-to-focus, there is much much simpler than using wew.

~button1
    focus.sh $(underneath)

I though that was your goal for creating this script! Looks like I was wrong

from opt.

lwilletts avatar lwilletts commented on July 22, 2024

Yes, it doesn't quite work properly with dropdown menus and the like though, otherwise it's a decent solution.

from opt.

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.