native: Update to new constrain callback API

https://bugzilla.gnome.org/show_bug.cgi?id=744104
This commit is contained in:
Jonas Ådahl 2015-07-07 13:10:41 +08:00
parent f0f638d2bd
commit 525644059d

View File

@ -193,10 +193,12 @@ constrain_all_screen_monitors (ClutterInputDevice *device,
static void static void
pointer_constrain_callback (ClutterInputDevice *device, pointer_constrain_callback (ClutterInputDevice *device,
guint32 time, guint32 time,
float *new_x, float prev_x,
float *new_y, float prev_y,
gpointer user_data) float *new_x,
float *new_y,
gpointer user_data)
{ {
MetaMonitorManager *monitor_manager; MetaMonitorManager *monitor_manager;
MetaMonitorInfo *monitors; MetaMonitorInfo *monitors;