From 09610daea19212787519e3d23299a2a533b08721 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 8 Jul 2014 13:27:38 -0400 Subject: [PATCH] gesture-tracker: Don't pass an autodeny-timeout Just use the default value of 250. --- src/core/display.c | 2 +- src/core/gesture-tracker-private.h | 2 +- src/core/gesture-tracker.c | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/core/display.c b/src/core/display.c index ac5120e0c..f37fc3258 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -854,7 +854,7 @@ meta_display_open (void) meta_screen_create_guard_window (screen); /* Set up touch support */ - the_display->gesture_tracker = meta_gesture_tracker_new (0); + the_display->gesture_tracker = meta_gesture_tracker_new (); g_signal_connect (the_display->gesture_tracker, "state-changed", G_CALLBACK (gesture_tracker_state_changed), the_display); meta_display_grab_window_touch (the_display, DefaultRootWindow (the_display->xdisplay)); diff --git a/src/core/gesture-tracker-private.h b/src/core/gesture-tracker-private.h index 296866e32..c991f18bc 100644 --- a/src/core/gesture-tracker-private.h +++ b/src/core/gesture-tracker-private.h @@ -68,7 +68,7 @@ struct _MetaGestureTrackerClass GType meta_gesture_tracker_get_type (void) G_GNUC_CONST; -MetaGestureTracker * meta_gesture_tracker_new (guint autodeny_timeout); +MetaGestureTracker * meta_gesture_tracker_new (void); gboolean meta_gesture_tracker_handle_event (MetaGestureTracker *tracker, const ClutterEvent *event); diff --git a/src/core/gesture-tracker.c b/src/core/gesture-tracker.c index cdd502d70..8c84bee1d 100644 --- a/src/core/gesture-tracker.c +++ b/src/core/gesture-tracker.c @@ -342,11 +342,9 @@ meta_gesture_tracker_init (MetaGestureTracker *tracker) } MetaGestureTracker * -meta_gesture_tracker_new (guint autodeny_timeout) +meta_gesture_tracker_new (void) { - return g_object_new (META_TYPE_GESTURE_TRACKER, - "autodeny-timeout", autodeny_timeout, - NULL); + return g_object_new (META_TYPE_GESTURE_TRACKER, NULL); } static void