Re: [PATCH] display: Adds wl_display_flush to send buffered commands

2011-05-10 Thread Kristian Høgsberg
On Tue, May 10, 2011 at 12:51 PM, Robert Bragg wrote: > Previously for wayland clients to flush buffered connection data to the > compositor they needed to first register an event-mask-update-callback > via wl_display_get_fd() to determine if there is anything writeable > pending.  (NB: It's consi

[PATCH] display: Adds wl_display_flush to send buffered commands

2011-05-10 Thread Robert Bragg
Previously for wayland clients to flush buffered connection data to the compositor they needed to first register an event-mask-update-callback via wl_display_get_fd() to determine if there is anything writeable pending. (NB: It's considered an error to iterate connection data with an invalid mask)