Comments (5)
Hello!
Here are a few points:
wew
expects a number as its mask, not a "name". sowew -m XCB_EVENT_MASK_KEY_PRESS
should instead bewew -m 1
- 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 KEY_PRESS
is for keyboard events. The mouse pointer triggersBUTTON_PRESS
events- 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.
What event masks are handled by now? Is it only focus and enter events?
from opt.
from opt.
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.
from opt.
Related Issues (20)
- Setting -m 4 blocks window event 7 from being produced. HOT 4
- Bring back xmmv HOT 4
- resize window HOT 6
- respond to fullscreen request? HOT 1
- wew sometimes doesn't catch an event HOT 42
- xmmv doesn't allow movement from one monitor to another
- typo in README.md HOT 1
- Function name in xmmv.c? HOT 2
- wew blocks mouse1 when the mask XCB_EVENT_BUTTON_PRESS HOT 8
- chwb2 doesn't make any effect HOT 6
- xmmv doesn't work properly when called from polybar HOT 4
- `wew` doesn't print window focus events if the mouse isn't on a window HOT 3
- chwb2 not working as expected HOT 6
- wew functionality HOT 3
- Strange chwb2 borders HOT 20
- How to build on FreeBSD HOT 2
- You're not supposed to understand this issue. HOT 1
- wew doesn't catch event 4 (button press) or 5 (button release). HOT 1
- wew with mask grabs click event HOT 7
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 opt.