From 0256de00029e8f17da0514e14460fb9ff2283433 Mon Sep 17 00:00:00 2001 From: emersion Date: Sun, 17 Dec 2017 18:02:55 +0100 Subject: Add full refresh rate support to custom modes --- backend/x11/backend.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backend/x11') diff --git a/backend/x11/backend.c b/backend/x11/backend.c index c116e78e..0d45cfb5 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -117,7 +117,8 @@ static bool handle_x11_event(struct wlr_x11_backend *x11, xcb_generic_event_t *e case XCB_CONFIGURE_NOTIFY: { xcb_configure_notify_event_t *ev = (xcb_configure_notify_event_t *)event; - wlr_output_update_size(&output->wlr_output, ev->width, ev->height); + wlr_output_update_custom_mode(&output->wlr_output, ev->width, + ev->height, 0); // Move the pointer to its new location xcb_query_pointer_cookie_t cookie = -- cgit v1.2.3