mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -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);
|
meta_screen_create_guard_window (screen);
|
||||||
|
|
||||||
/* Set up touch support */
|
/* 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_signal_connect (the_display->gesture_tracker, "state-changed",
|
||||||
G_CALLBACK (gesture_tracker_state_changed), the_display);
|
G_CALLBACK (gesture_tracker_state_changed), the_display);
|
||||||
meta_display_grab_window_touch (the_display, DefaultRootWindow (the_display->xdisplay));
|
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;
|
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,
|
gboolean meta_gesture_tracker_handle_event (MetaGestureTracker *tracker,
|
||||||
const ClutterEvent *event);
|
const ClutterEvent *event);
|
||||||
|
@ -342,11 +342,9 @@ meta_gesture_tracker_init (MetaGestureTracker *tracker)
|
|||||||
}
|
}
|
||||||
|
|
||||||
MetaGestureTracker *
|
MetaGestureTracker *
|
||||||
meta_gesture_tracker_new (guint autodeny_timeout)
|
meta_gesture_tracker_new (void)
|
||||||
{
|
{
|
||||||
return g_object_new (META_TYPE_GESTURE_TRACKER,
|
return g_object_new (META_TYPE_GESTURE_TRACKER, NULL);
|
||||||
"autodeny-timeout", autodeny_timeout,
|
|
||||||
NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user