Commit graph

29 commits

Author SHA1 Message Date
Ian Scott
c00a790c2b Fix XClient arguments 2015-06-25 15:57:20 -07:00
Ian Scott
2d7d6cbc8f Fall back to TCP if socket does not exist
Also have client emit error on stream error if there is no initCb.
2015-06-25 15:47:02 -07:00
Ian Scott
3e3f1805a2 Remove debug messages from MappingNotify 2015-01-14 10:08:59 -08:00
Tim Roes
ff73173cd5 feat: fix format of LeaveNotify event 2015-01-03 21:33:06 +01:00
Santiago Gimeno
7c86cedcab events: fix ConfigureRequest parsing
- Add test that would fail without this change.
2014-12-09 10:00:17 +01:00
Andrey Sidorov
b89376a00e route event to parent if parent id exist 2014-10-08 20:41:45 +11:00
Andrey Sidorov
6643bd97f7 use wid instead of window for consistency 2014-10-08 14:58:47 +11:00
champii
6d6c8d3b9f Extensions, tests and exemples are now cps-style 2014-09-23 16:09:18 +02:00
champii
48f132b3fe ConfigureWindow, CreateWindow and CreateGC now give good format size to buffer, fixed some tests 2014-09-23 15:32:48 +02:00
champii
2e2a87f6ff trying to use PutImage 2014-09-23 15:32:48 +02:00
champii
643c004fb5 removed log 2014-09-23 15:32:48 +02:00
champii
965b5ca997 Test 2014-09-23 15:32:48 +02:00
Andrey Sidorov
421261aaac add MappingNotify event 2014-05-02 14:37:37 +10:00
Santiago Gimeno
4376fcac49 Fix parsing of CreateNotify event 2014-03-21 12:29:22 +01:00
Andrey Sidorov
73dda10b1a glx error parsers #49 2014-03-08 19:05:21 +11:00
Andrey Sidorov
0113db66af unly delete seq2stack entry when in debug mode 2014-03-08 18:09:54 +11:00
Andrey Sidorov
56001da581 use property setter in debug mode to map seq num to stack trace 2014-03-08 18:04:09 +11:00
Andrey Sidorov
ebb77199fc fix in error parsing: bad_value, min/maj opcode now calculated correctly 2014-03-03 11:55:44 +11:00
Santiago Gimeno
1e36e5d426 Fix some event names
- ButtonPress, ButtonRelease, MotionNotify and EnterNotify
2014-01-28 12:14:19 +01:00
Santiago Gimeno
69825534f6 Fix ConfigureNotify event name 2014-01-28 10:59:49 +01:00
Santiago Gimeno
ec6c56a191 Expose eventMask in X client. 2013-11-19 13:09:12 +01:00
Santiago Gimeno
690d24413b Add ClientMessage event 2013-11-18 17:34:27 +01:00
Santiago Gimeno
90148d64a8 Update DestroyNotify and MapNotify handling
- To be better aligned with the spec.
2013-11-05 10:22:26 +01:00
Santiago Gimeno
85773377e9 Handle UnmapNotify event 2013-11-05 10:21:42 +01:00
Dominic Tarr
7fc33f3bab add EnterWindow event, and give events names 2013-10-30 11:12:15 -07:00
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)