[mutter] native: Update to new constrain callback API
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] native: Update to new constrain callback API
- Date: Tue, 16 Feb 2016 11:03:41 +0000 (UTC)
commit 525644059d74276d2277a764052861ff665b8ae9
Author: Jonas Ådahl <jadahl gmail com>
Date: Tue Jul 7 13:10:41 2015 +0800
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 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/backends/native/meta-backend-native.c b/src/backends/native/meta-backend-native.c
index 5a1c1b4..16d0bac 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]