Commit graph

4 commits

Author SHA1 Message Date
Santiago Gimeno
9ee3721dd2 Really fix the parsing of the event type field
- Typo: use the bitwise operator and not the comparison operator
2013-05-22 14:58:32 +02:00
Santiago Gimeno
1ad9c385b5 Fix the parsing of the type field in Event msgs
- According to the standard, the most significant bit of the 8-bit type code is
  used to flag if the event was generated from a SendEvent request. See Event
  Format section in Chapter 1 of the specification.
2013-05-10 09:45:51 +02:00
Santiago Gimeno
c1efb0c840 Cache atoms to avoid redundant requests
- Once cached we really don't need to send InternAtom and AtonName requests, so
  we bypass them.
- Add atom_names property to XClient: it's basically the atoms object property
  reversed. It'll be used to cache the atom names.
- Add some tests.
- Issue #22.
2013-02-28 14:43:26 +01:00
Andrey Sidorov
3f064b218e get rid of lib/x11 nested subdirectory, lib/x11 -> lib 2013-02-19 16:23:53 +11:00
Renamed from lib/x11/xcore.js (Browse further)