Reviewed-by: Lyude Paul <ly...@redhat.com>
On Thu, 2018-05-24 at 16:11 +0200, Olivier Fourdan wrote: > Make xwl_output_get_xdg_output() private, it doesn't need to be > available elsewhere. > > Signed-off-by: Olivier Fourdan <ofour...@redhat.com> > --- > hw/xwayland/xwayland-output.c | 4 +++- > hw/xwayland/xwayland.h | 1 - > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/hw/xwayland/xwayland-output.c b/hw/xwayland/xwayland-output.c > index 48faeb142..379062549 100644 > --- a/hw/xwayland/xwayland-output.c > +++ b/hw/xwayland/xwayland-output.c > @@ -38,6 +38,8 @@ > RR_Reflect_X | \ > RR_Reflect_Y) > > +static void xwl_output_get_xdg_output(struct xwl_output *xwl_output); > + > static Rotation > wl_transform_to_xrandr(enum wl_output_transform transform) > { > @@ -435,7 +437,7 @@ xwl_screen_init_output(struct xwl_screen *xwl_screen) > return TRUE; > } > > -void > +static void > xwl_output_get_xdg_output(struct xwl_output *xwl_output) > { > struct xwl_screen *xwl_screen = xwl_output->xwl_screen; > diff --git a/hw/xwayland/xwayland.h b/hw/xwayland/xwayland.h > index 25112e2cb..39bc20a7e 100644 > --- a/hw/xwayland/xwayland.h > +++ b/hw/xwayland/xwayland.h > @@ -440,7 +440,6 @@ void xwl_present_cleanup(WindowPtr window); > > void xwl_screen_release_tablet_manager(struct xwl_screen *xwl_screen); > > -void xwl_output_get_xdg_output(struct xwl_output *xwl_output); > void xwl_screen_init_xdg_output(struct xwl_screen *xwl_screen); > > void xwl_glamor_egl_make_current(struct xwl_screen *xwl_screen); -- Cheers, Lyude Paul _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel