wayland: Remove unused function
The function force_roundtrip was unused and required API that was removed from Wayland. Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
parent
061ef6ed06
commit
00ca539845
@ -333,24 +333,6 @@ event_mask_update_cb (uint32_t mask, void *user_data)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
sync_callback(void *data)
|
||||
{
|
||||
int *done = data;
|
||||
|
||||
*done = 1;
|
||||
}
|
||||
|
||||
static void
|
||||
force_roundtrip(struct wl_display *display)
|
||||
{
|
||||
int done = 0;
|
||||
|
||||
wl_display_sync_callback(display, sync_callback, &done);
|
||||
wl_display_iterate(display, WL_DISPLAY_WRITABLE);
|
||||
while (!done)
|
||||
wl_display_iterate(display, WL_DISPLAY_READABLE);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Updates all the function pointers */
|
||||
|
Loading…
Reference in New Issue
Block a user