flipsi / dotfiles

Configuration Files
9 stars 0 forks source link

xcb_grab_key js-ctypes #2

Open Noitidart opened 8 years ago

Noitidart commented 8 years ago

Hi there, I noticed you are using js-ctypes and xcb to grab a key.

I am trying to do the same, I get no errors, however the grab doesn't happen :(

Were you able to succesfully grab?

Here is my code: https://github.com/Noitidart/NativeShot/blob/master/modules/hotkey/HotkeyWorker.js#L376-L459

I do that from a ChromeWorker, would you have some time to help with advice/input please?

Noitidart commented 8 years ago

Here is a gist of my work, you can copy and paste this to scratchpad and run it:

https://gist.github.com/Noitidart/3870a1e5ab341fe8604cf516ff7c93cb

It's so weird I have no idea why it won't work :(