diff options
Diffstat (limited to 'backend/x11/backend.c')
-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 089b3822..b4b0f154 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -74,8 +74,8 @@ static void handle_x11_event(struct wlr_x11_backend *x11, xcb_expose_event_t *ev = (xcb_expose_event_t *)event; struct wlr_x11_output *output = x11_output_from_window_id(x11, ev->window); - if (output != NULL && !output->wlr_output.frame_pending) { - wlr_output_send_frame(&output->wlr_output); + if (output != NULL) { + wlr_output_update_needs_swap(&output->wlr_output); } break; } |