[Xcb] Responding to _NET_WM_PING
Peter Harris
pharris at opentext.com
Mon Mar 22 11:11:52 PDT 2010
On 2010-03-22 12:13, Nicholas Allen wrote:
> xcb_client_message_event_t* clientEvent =
clientEvent is a pointer to xcb_client_message_event_t.
> xcb_send_event(connection, false, screen->root,
> XCB_EVENT_MASK_STRUCTURE_NOTIFY | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT,
> (const char*)&clientEvent);
&clientEvent is a pointer to a pointer to xcb_client_message_event_t.
I'm pretty sure that's not what xcb_send_event expects. Does it work if
you drop the extra '&'?
Peter Harris
--
Open Text Connectivity Solutions Group
Peter Harris http://connectivity.opentext.com/
Research and Development Phone: +1 905 762 6001
pharris at opentext.com Toll Free: 1 877 359 4866
More information about the Xcb
mailing list