Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key some releases are dropped resulting in stuck keys #19

Open
xAnnihilationx opened this issue Sep 16, 2015 · 1 comment
Open

Key some releases are dropped resulting in stuck keys #19

xAnnihilationx opened this issue Sep 16, 2015 · 1 comment

Comments

@xAnnihilationx
Copy link

In xlip.lisp -> process-event your logic:
(when (and (x-pending-p dpy) (%x-events-queued dpy 1)) ;; 1 is QueuedAfterReading
(with-foreign-object (next-evt 'x-event)
(%x-peek-event dpy next-evt)
(when (and (eq :key-press
(foreign-enum-keyword 'x-event-name
(foreign-slot-value next-evt 'x-key-event 'type)
:errorp nil))
(eq win (foreign-slot-value next-evt 'x-key-event 'win))
(eq time (foreign-slot-value next-evt 'x-key-event 'time)))
(return-from process-event))))
will drop a valid key release and leave it as pressed resulting in a stuck key. commting this out fixed the issue.

@patzy
Copy link
Collaborator

patzy commented Oct 16, 2015

Can you make a pull request for the change ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants