[Xcb] xcb_event_loop renaming
Peter Harris
peter.harris at hummingbird.com
Mon Jan 28 15:38:39 PST 2008
Jamey Sharp wrote:
> On Wed, Jan 09, 2008 at 04:33:22PM +0100, Arnaud Fontaine wrote:
>> I attached to this mail the patch which adds xcb_poll_for_event_loop()
>> and also perform bitwise AND (~0x80) on the response type in order to
>> get the event code (I read this in the XCB manual, Vincent tried to
>> explain me what it means but I haven't fully understood yet).
>
> The SendEvent bit is provided because there are cases where applications
> need to know whether the event was generated internally by the X server,
> or whether it was generated by another X client with the SendEvent
> request. I thought ICCCM or EWMH actually required this somewhere, but I
> could be wrong.
You are not wrong.
See, for example, http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.5
"The general rule is that coordinates in real ConfigureNotify events are
in the parent's space; in synthetic events, they are in the root space."
(and other differences between sent and genuine events)
Peter Harris
--
Hummingbird Connectivity - A Division of Open Text
Peter Harris http://connectivity.hummingbird.com
Research and Development Phone: +1 905 762 6001
peter.harris at hummingbird.com Toll Free: 1 877 359 4866
More information about the Xcb
mailing list