3 ms·
How are the interactive windows that are displayed in the page created? Is that a complete simulation of X server done with JavaScript or is it something unrela
by foo101 10y ago
How are the interactive windows that are displayed in the page created? Is that a complete simulation of X server done with JavaScript or is it something unrelated to X server?
- Jasper_ 10y agoIt's a simulation of an X server done with JavaScript. The README.md explains it in a bit more detail: https://github.com/magcius/xplain#demo-framework--xserverjs https://github.com/magcius/xplain#demo-framework--xserverjs Basically, I emulate what an X server would do, semantically, without implementing any of the actual wire protocol. The codebase is, I hope, pretty well commented and designed as something to learn from. https://github.com/magcius/xplain/blob/gh-pages/src/server/server.js https://github.com/magcius/xplain/blob/gh-pages/src/server/s...