[STUMP] xtest::fake-button-event, ratclick not working

Ernesto Alfonso <[email protected]>
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <CAOckuXCmkrwvzBtzFppYuZXMdjBQkZMvZJcc=SY6x9wnVnR3TQ@mail.gmail.com>
(ratclick) originally does not work. Looking into the documentation, I see:
  "[...] this function is unlikely to work unless
your X server and CLX implementation support XTEST."

So I install libxtst6, libxsts-dev. apt-get install tells me that:

"libxtst-dev is already the newest version."
"libxtst6 is already the newest version."

I download the xtest.lisp file located here:
https://raw.githubusercontent.com/sharplispers/clx/master/xtest.lisp
and load it into stumpwm.

I test for xtest support:
STUMPWM> (xlib:query-extension *display* "XTEST")
142
0
0

(This is non-nil, but it is zero. Does this mean there is xtest support or
not?)

So I try (ratclick 3) again, but it still does not work.

Then I try:

(xtest::fake-button-event *display* 3 t)
and
(xtest::fake-button-event *display* 3 nil)

Neither of the above work.

What am I missing? How can I get a simple right click to work?

Thanks

_______________________________________________
Stumpwm-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.