gohook icon indicating copy to clipboard operation
gohook copied to clipboard

Does it work on Wayland?

Open raffaem opened this issue 4 years ago • 1 comments

Cannot compile on Fedora Workstation 34, which uses Wayland. It looks like it's requiring headers from the X11 subsystem:

$ go get -v github.com/robotn/gohook
go: downloading github.com/robotn/gohook v0.30.5
github.com/robotn/gohook
# github.com/robotn/gohook
In file included from ./event/pub.h:20,
                 from ./event/goEvent.h:18,
                 from ../../../go/pkg/mod/github.com/robotn/[email protected]/hook.go:22:
./event/../hook/x11/input_c.h:40:10: fatal error: xkbcommon/xkbcommon-x11.h: No such file or directory
   40 | #include <xkbcommon/xkbcommon-x11.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

raffaem avatar May 21 '21 23:05 raffaem

Not supported now, maybe supported later.

vcaesar avatar Jul 14 '21 17:07 vcaesar