zoom: Remove unneeded usage of wl_fixed_ts in favour of doubles
Signed-off-by: Giulio Camuffo <giuliocamuffo@gmail.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
diff --git a/src/compositor.h b/src/compositor.h
index c4c81f0..2e2a185 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -144,20 +144,18 @@
uint32_t clip;
};
-struct weston_fixed_point {
- wl_fixed_t x, y;
-};
-
struct weston_output_zoom {
bool active;
float increment;
float level;
float max_level;
float trans_x, trans_y;
+ struct {
+ double x, y;
+ } current;
struct weston_seat *seat;
struct weston_animation animation_z;
struct weston_spring spring_z;
- struct weston_fixed_point current;
struct wl_listener motion_listener;
};