native: Update to new constrain callback API
https://bugzilla.gnome.org/show_bug.cgi?id=744104
This commit is contained in:
parent
f0f638d2bd
commit
525644059d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user