diff options
author | emersion <contact@emersion.fr> | 2018-01-26 22:39:23 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-26 22:39:23 +0100 |
commit | 8d58ed502b6022e6a5e99bca98f6c45cc6deba0a (patch) | |
tree | a51f133813a57b7b2cc90b1fb0cbe15c8b3bd53b /backend/x11 | |
parent | ece2c1e4e200192bde19a2590b5a31f244e09524 (diff) |
output: add wlr_output_schedule_frame
Diffstat (limited to 'backend/x11')
-rw-r--r-- | backend/x11/backend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c index b9ea7d0f..ae7c13be 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -44,7 +44,7 @@ static bool handle_x11_event(struct wlr_x11_backend *x11, xcb_generic_event_t *e switch (event->response_type) { case XCB_EXPOSE: { - wl_signal_emit(&output->wlr_output.events.frame, output); + wlr_output_send_frame(&output->wlr_output); break; } case XCB_KEY_PRESS: @@ -174,7 +174,7 @@ static int x11_event(int fd, uint32_t mask, void *data) { static int signal_frame(void *data) { struct wlr_x11_backend *x11 = data; - wl_signal_emit(&x11->output.wlr_output.events.frame, &x11->output); + wlr_output_send_frame(&x11->output.wlr_output); wl_event_source_timer_update(x11->frame_timer, 16); return 0; } |