clx icon indicating copy to clipboard operation
clx copied to clipboard

Refactor Demos

Open bmansurov opened this issue 3 months ago • 3 comments

Here you can see how the demos look after the refactor: https://www.youtube.com/watch?v=PPpZDB61oxs

Issue: #186

bmansurov avatar Sep 18 '25 01:09 bmansurov

I think the PR is ready for a review.

bmansurov avatar Oct 13 '25 00:10 bmansurov

@dkochmanski thanks for the review. I'll make the changes.

I've also noticed, that clx crashes my lisp instance when I close a window.

No, I haven't seen this bug. I'm using SBCL. What Lisp are you using? What window manager?

bmansurov avatar Oct 27 '25 23:10 bmansurov

thanks for conformiation. I've actually tried to debug it and it led me to sbcl internals where it waits for fd being available (using posix subsystem). Going any deeper was unfeasible.

I've formulated the following hypothesis: when we don't handle "close" event in demos, wayland (I'm using on this computer x11 compatibility layer) closes the fd, and when sbcl tries to fiddle with it, then the operating system kills sbcl for accessing unavailable resource. It does not happen on my other computer where I'm using "normal" x11.

dkochmanski avatar Oct 28 '25 12:10 dkochmanski