From 4ff5a7408a2fe87a1845d836337fbc8d377bbd68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 18 Jun 2012 16:48:27 -0400 Subject: [PATCH] compositor: Don't export weston_compositor_repick() Picking is tied into the repaint loop and shouldn't happen outside weston_output_repaint(), so don't export weston_compositor_repick(). --- src/compositor.c | 2 +- src/compositor.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 053dfd13..c93da34a 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -614,7 +614,7 @@ weston_device_repick(struct wl_seat *seat) &seat->pointer->grab->y); } -WL_EXPORT void +static void weston_compositor_repick(struct weston_compositor *compositor) { struct weston_seat *seat; diff --git a/src/compositor.h b/src/compositor.h index b57fc2ee..9df19339 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -527,8 +527,6 @@ weston_output_damage(struct weston_output *output); void weston_output_do_read_pixels(struct weston_output *output); void -weston_compositor_repick(struct weston_compositor *compositor); -void weston_compositor_schedule_repaint(struct weston_compositor *compositor); void weston_compositor_fade(struct weston_compositor *compositor, float tint);