From 525644059d74276d2277a764052861ff665b8ae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 7 Jul 2015 13:10:41 +0800 Subject: [PATCH] native: Update to new constrain callback API https://bugzilla.gnome.org/show_bug.cgi?id=744104 --- src/backends/native/meta-backend-native.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/backends/native/meta-backend-native.c b/src/backends/native/meta-backend-native.c index 5a1c1b48f..16d0bac34 100644 --- a/src/backends/native/meta-backend-native.c +++ b/src/backends/native/meta-backend-native.c @@ -193,10 +193,12 @@ constrain_all_screen_monitors (ClutterInputDevice *device, static void pointer_constrain_callback (ClutterInputDevice *device, - guint32 time, - float *new_x, - float *new_y, - gpointer user_data) + guint32 time, + float prev_x, + float prev_y, + float *new_x, + float *new_y, + gpointer user_data) { MetaMonitorManager *monitor_manager; MetaMonitorInfo *monitors;