wl_fixed_t x, wl_fixed_t y,
wl_fixed_t *vx, wl_fixed_t *vy);
-WL_EXPORT void
+void
weston_surface_to_buffer_float(struct weston_surface *surface,
float x, float y, float *bx, float *by);
-WL_EXPORT void
+void
weston_surface_to_buffer(struct weston_surface *surface,
int sx, int sy, int *bx, int *by);
pixman_box32_t
int
weston_surface_is_mapped(struct weston_surface *surface);
-WL_EXPORT void
+void
weston_surface_set_size(struct weston_surface *surface,
int32_t width, int32_t height);
#include "compositor.h"
#include "filter.h"
-void
+WL_EXPORT void
weston_filter_dispatch(struct weston_motion_filter *filter,
struct weston_motion_params *motion,
void *data, uint32_t time)
accelerator_destroy
};
-struct weston_motion_filter *
+WL_EXPORT struct weston_motion_filter *
create_pointer_accelator_filter(accel_profile_func_t profile)
{
struct pointer_accelerator *filter;
struct weston_motion_filter;
-WL_EXPORT void
+void
weston_filter_dispatch(struct weston_motion_filter *filter,
struct weston_motion_params *motion,
void *data, uint32_t time);
double velocity,
uint32_t time);
-WL_EXPORT struct weston_motion_filter *
+struct weston_motion_filter *
create_pointer_accelator_filter(accel_profile_func_t filter);
#endif // _FILTER_H_