Comments (8)
#3 seems similar to this issue.
from opt.
If you ask wew(1) to grab the pointer, it will.
Grabing the pointer means that the "click" event will be captured by the application, and unfortunately, only one application can register the XCB_EVENT_BUTTON_PRESS per window. To be able to catch it everywhere, wew has to register it on the root window, which has higher precedence over all other windows.
So yeah, it is an expected behavior. What are you trying to achieve? Maybe there is another way to sort this out.
from opt.
One use-case for this would probably be to focus the window when you click on it (for the people out there that use wmutils to script together their own wm).
from opt.
I've never been fond of "click-to-focus" behaviors, which is why I didn't even notice it was impossible to have with wew. I'll check if it is possible to implement, and how to do it then.
from opt.
@z3bratabs but you said my focus_switch script was cool! ;-; j/k
from opt.
I guess it's possible if you combine wew enter/leave events (with fixed inter-window enter/leaves, see #3) with sxhkd and some tmp file that holds the window the mouse is currently in. I'll test this once I get home.
Especially since that would probably count as a "hotkey" and would more likely fit better into the scope if sxhkd than wew, and use wew just to get the neccessary info.
from opt.
It doesn't grab the cursor all the time, only when you explicitely ask for it.
À dim. août 9 01:49:26 2015 GMT+0200, Eduardo Lavaque a écrit :
@z3bratabs but you said my focus_switch script was cool! ;-;
Reply to this email directly or view it on GitHub:
#4 (comment)
Envoyé depuis mon Jolla
from opt.
Was trying to make click to focus because sometimes tooltips disappearing would change the foccused window, didn't know it was supposed to grab the mouse.
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
- 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
- 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.