mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
gesture-tracker: Don't pass an autodeny-timeout
Just use the default value of 250.
This commit is contained in:
parent
13b7fa4eba
commit
09610daea1
@ -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));
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user