Comments (7)
Looks this this issue will solve this.
from glfw.
It looks like this is only for v3.4. So I guess my request is actually about supporting version v3.4. I'll change the title of the issue.
from glfw.
Additionally, it's probable that supporting an entirely new version would be a tonne of work and it's not fair for me to request this just for a single window hint.
However would a maintainer / supporter be willing to suggest or advise here were I to attempt to do this myself, just for a single window hint, by following the patterns set by this library for the other versions?
Maybe the PR could even begin the work for supporting v3.4 and if it's not complicated I could contribute with the rest if it's just "passthrough" function calls. :)
from glfw.
Closing as it looks like this isn't interesting for anyone. I'll figure out another way.
from glfw.
Sorry if I shouldn't be typing here considering it's closed, I tried to reach you out on Twitter but it seems you don't have DMs enabled. I have been experiencing the same issue with a personal project that I have pause whilst waiting for the release of GLFW 3.4. I was looking to use the GLFW_MOUSE_PASSTHROUGH
but of course, it is not yet available.
I was wondering if you have found any alternative to this so far?
from glfw.
Hey @DownloadableFox, nope not found anything else yet. Just waiting for this MR. There's no instructions there that I can see yet as I'm on a Mac.
I'll re-open as it's being actively worked on.
from glfw.
Okay I got this working.
I checked out Geo25ray's master branch which has 3.4 changes in.
Then in testdata/customcursor/main.go
I commented out the line window.SetIcon()
, because this wasn't working on Mac. Maybe it works for you if you're not using a Mac.
Then in the Hints area at the top of window.go
, directly under floating, I added the new hint:
MousePassthrough Hint = C.GLFW_MOUSE_PASSTHROUGH
Finally in customcursor/main.go
I added:
window.SetAttrib(glfw.MousePassthrough, 1)
window.SetAttrib(glfw.Floating, 1)
And mouse pass through worked! :)
from glfw.
Related Issues (20)
- I can't run the case project properly HOT 2
- -
- No error handling in v3.3 HOT 5
- Old module name in README installation instructions HOT 3
- IME support HOT 6
- Build fail on macOS ventura 13.2.1 HOT 3
- How to use in windows? HOT 2
- Converting to execution character set: Illegal byte sequence
- can not build on macos 13.3.1 HOT 5
- Any way to try the glfw master branch to use libdecor ? HOT 1
- `(*glfw.Window).SetIcon` doesn't consider strides
- Unused import of image/draw after latest changes HOT 1
- Panic when creating cursor after latest changes HOT 1
- v3.3/glfw: GetKeyName incorrectly panics on unknown key and scancode HOT 6
- v3.3/glfw: CreateWindow can run into GLFW_NO_WINDOW_CONTEXT but doesn't accept it HOT 3
- v3.4/glfw: add support for GLFW version 3.4 (and future 3.4.x versions) HOT 7
- v3.3/glfw: Update to v3.3.10
- scripts: Grab upstream fails to apply patch for v3.2 HOT 1
- Old linux version cannot build successful HOT 4
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 glfw.