mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
core: enable XInput2 by default
Enable XI2 support in both Clutter and GDK. https://bugzilla.gnome.org/show_bug.cgi?id=688779
This commit is contained in:

committed by
Jasper St. Pierre

parent
0fd4059927
commit
946a42f13e
@ -301,9 +301,11 @@ static GSourceFuncs event_funcs = {
|
||||
static void
|
||||
meta_clutter_init (void)
|
||||
{
|
||||
clutter_x11_enable_xinput ();
|
||||
|
||||
clutter_x11_set_display (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
|
||||
clutter_x11_disable_event_retrieval ();
|
||||
|
||||
|
||||
if (CLUTTER_INIT_SUCCESS == clutter_init (NULL, NULL))
|
||||
{
|
||||
GSource *source = g_source_new (&event_funcs, sizeof (GSource));
|
||||
|
Reference in New Issue
Block a user