Commit 4e1d0973 authored by Marius Vlad's avatar Marius Vlad Committed by Daniel Stone

libweston: Migrate functions that operate on 'weston_spring'

Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
parent f1a6594a
......@@ -1639,14 +1639,6 @@ weston_view_from_global_fixed(struct weston_view *view,
wl_fixed_t x, wl_fixed_t y,
wl_fixed_t *vx, wl_fixed_t *vy);
void
weston_spring_init(struct weston_spring *spring,
double k, double current, double target);
void
weston_spring_update(struct weston_spring *spring, const struct timespec *time);
int
weston_spring_done(struct weston_spring *spring);
void
weston_view_activate(struct weston_view *view,
struct weston_seat *seat,
......
......@@ -263,4 +263,15 @@ weston_surface_to_buffer_region(struct weston_surface *surface,
pixman_region32_t *buffer_region);
void
weston_surface_schedule_repaint(struct weston_surface *surface);
/* weston_spring */
void
weston_spring_init(struct weston_spring *spring,
double k, double current, double target);
int
weston_spring_done(struct weston_spring *spring);
void
weston_spring_update(struct weston_spring *spring, const struct timespec *time);
#endif
......@@ -31,6 +31,7 @@
#include <stdbool.h>
#include <libweston/libweston.h>
#include "libweston-internal.h"
#include "text-cursor-position-server-protocol.h"
#include "shared/helpers.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment