diff --git a/hw/xwayland/xwayland-output.c b/hw/xwayland/xwayland-output.c index 738c3320f..fe7a9232e 100644 --- a/hw/xwayland/xwayland-output.c +++ b/hw/xwayland/xwayland-output.c @@ -1080,7 +1080,7 @@ mode_sort(const void *left, const void *right) return (*mode_b)->mode.width - (*mode_a)->mode.width; } -static Bool +Bool xwl_randr_add_modes_fixed(struct xwl_output *xwl_output, int current_width, int current_height) { diff --git a/hw/xwayland/xwayland-output.h b/hw/xwayland/xwayland-output.h index a95288e4f..bcdf25bec 100644 --- a/hw/xwayland/xwayland-output.h +++ b/hw/xwayland/xwayland-output.h @@ -77,6 +77,10 @@ Bool xwl_screen_init_output(struct xwl_screen *xwl_screen); Bool xwl_screen_init_randr_fixed(struct xwl_screen *xwl_screen); +Bool +xwl_randr_add_modes_fixed(struct xwl_output *xwl_output, + int current_width, int current_height); + void xwl_output_set_mode_fixed(struct xwl_output *xwl_output, RRModePtr mode);