[Xcb] xcb_map_notify_event_t

Peter Harris peter.harris at hummingbird.com
Mon Oct 27 07:08:27 PDT 2008


Fernando Virgens wrote:
> Hi, on the xcb_map_notify_event_t and another structs wich have:
> 
> xcb_window_t window;
> xcb_window_t event;
> 
> whats the difference between window and event?

This isn't an xcb question, but an X protocol question.

All of your core X protocol questions are answered by this document:
http://gitweb.freedesktop.org/?p=xorg/doc/xorg-docs.git;a=blob_plain;f=hardcopy/XProtocol/proto.PS.gz

"Event is the window on which the event was generated, and window is the
window that is mapped." - they will be different if you're using
SubstructureNotify instead of StructureNotify.

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