Giter VIP home page Giter VIP logo

Comments (5)

z3bra avatar z3bra commented on July 3, 2024

Hello!

Here are a few points:

  1. wew expects a number as its mask, not a "name". so wew -m XCB_EVENT_MASK_KEY_PRESS should instead be wew -m 1
  2. It is "expected" as the KEY_PRESS event is not handled yet (no plan to do so myself): https://github.com/wmutils/opt/blob/master/wew.c#L175
  3. KEY_PRESS is for keyboard events. The mouse pointer triggers BUTTON_PRESS events
  4. I don't know what "fsts" in your sentence "it returns fsts on creating a client" means

So to give an answer to your question, I wrote wew for myself, to improve my wmutils experience, and don't plan to do much support for it (because it's a bit hacky and misbehaving). If people send me patches to improve it without breaking it, I can merge them, but I won't do anything myself unless my needs change.

If you provide me a patch that would work for BUTTON_* events, I can probably merge them. Otherwise you can wait for this to, perhaps, be implemented in the future.

from opt.

checkem avatar checkem commented on July 3, 2024

What event masks are handled by now? Is it only focus and enter events?

from opt.

z3bra avatar z3bra commented on July 3, 2024

from opt.

checkem avatar checkem commented on July 3, 2024

So, as I understand, wew returns cliend ID and the event value as a number. Are there plans to expand the program so that it returns additional data? I, for example, want to know the position of a mouse poiner relative to the screen or the root window(ie root_x, root_y for xlib). In other hand, if wew stands for 'window events watcher' it wouldn't be logical to put such outputs to this one. Or is there any way to get such data using inside a bash script having the wews 'ev' output?
Do not judge me too hard, I am doing this for educational purposes.

from opt.

z3bra avatar z3bra commented on July 3, 2024

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.