I try invalidate window using XCB library. I draw text and after second
(have timer), changed text and send message:
void invalidate()
{
xcb_expose_event_t invalidate_event;
invalidate_event.window = window;
invalidate_event.response_type = XCB_EXPOSE;
invalidate_event.x = 0;
invalidate_event.y = 0;
invalidate_event.width = WIDTH;
invalidate_event.height = HEIGHT;
xcb_send_event_checked(connection, false, window,
XCB_EVENT_MASK_EXPOSURE, (char*)&invalidate_event);
xcb_flush(connection);
}
but no new XCB_EXPOSE events...
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s