Refactor Demos
Here you can see how the demos look after the refactor: https://www.youtube.com/watch?v=PPpZDB61oxs
Issue: #186
I think the PR is ready for a review.
@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?
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.