Comments (4)
@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.
Yes you're quite right it seems! I look forward to this fix. (goodbye sloppy mouse!)
from opt.
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.
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)
- Bring back xmmv HOT 4
- resize window HOT 6
- respond to fullscreen request? HOT 1
- xmmv doesn't allow movement from one monitor to another
- wew returns incorrect data HOT 5
- 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
- chwb2 problem HOT 3
- 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.