Lines Matching refs:wfr
268 struct wfr { struct
278 struct wfr *wfr; in handle_stop_display() argument
285 wfr = malloc(sizeof *wfr); in handle_stop_display()
286 if (!wfr) { in handle_stop_display()
291 wfr->resource = resource; in handle_stop_display()
292 wl_list_insert(&d->waiting_for_resume, &wfr->link); in handle_stop_display()
360 struct wfr *wfr, *next; in display_resume() local
364 wl_list_for_each_safe(wfr, next, &d->waiting_for_resume, link) { in display_resume()
365 wl_resource_post_event(wfr->resource, DISPLAY_RESUMED); in display_resume()
366 wl_list_remove(&wfr->link); in display_resume()
367 free(wfr); in display_resume()