Comments (16)
actually, maybe not, since everything could be referenced from client parameter...
from node-ewmh.
In fact, I think I'll need that dependency as the eventMask is not referenced in the client or is it?
from node-ewmh.
It's not, but we can add it. What do you think?
from node-ewmh.
I think it makes sense.
Another thing that I think it could be somehow related is how do I make sure the client used by EWMH has a specific version. For example: I'm going to push some changes that needs the client to be from, at least, [email protected]
Is there a way to accomplish this? Ideally if this could be configured via package.json would be great
from node-ewmh.
peerDependency ?
from node-ewmh.
Oh, I didn't know about that. I'm going to check the npm docs.
Thanks!
BTW, don't worry about adding eventMask to the client. I'll do the PR
from node-ewmh.
I'm trying to keep everything in namespace objects but probably we can make exception for core events mask and alias them directly, so one could use X.PropertyNotify
from node-ewmh.
I'd rather do something like this: X.eventMask.PropertyNotify, so I know it is indeed a mask, but as you prefer
from node-ewmh.
Masks usually appear in big groups an I often see me typing 'eventMask' many times in the same expression
from node-ewmh.
Yes, I understand that. I'm not totally sold on this but will do.
from node-ewmh.
Maybe make eventMask hash and helper function? X.eventMask ('PropertyNotify StructureNotify)
from node-ewmh.
Ok expose only eventMask
reference :)
from node-ewmh.
Sorry I'm not sure I understand:
X.PropertyNotify
or
X.eventMask.PropertyNotify
from node-ewmh.
The latter, as in your initial suggestion. I'm probably overcomplicating simple things. X.eventMask.PropertyNotify
from node-ewmh.
Ok. Thanks!
from node-ewmh.
Sent PR: sidorares/node-x11#43
from node-ewmh.
Related Issues (6)
- Tests failing HOT 10
- Control instead of replace WM HOT 7
- Error: Could not set SubstructureRedirect to root window event_mask HOT 25
- More functions HOT 3
- publish? HOT 5
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 node-ewmh.