mirror of
https://github.com/brl/mutter.git
synced 2025-08-10 02:14:42 +00:00
core: enable XInput2 by default
This is nothing but the beginning, things work with a single pointer/keyboard pair, but will be largely broken with multiple devices interacting simultaneously, so we first need a policy to establish a sensible behavior for extra pointer/keyboard pairs. the MUTTER_USE_CORE_DEVICES envvar has been added to force use of Xlib core events for devices in order to check for regressions.
This commit is contained in:
@@ -488,7 +488,8 @@ meta_display_open (void)
|
||||
the_display->static_gravity_works = g_getenv ("MUTTER_USE_STATIC_GRAVITY") != NULL;
|
||||
|
||||
meta_bell_init (the_display);
|
||||
the_display->device_map = meta_device_map_new (the_display, TRUE);
|
||||
the_display->device_map = meta_device_map_new (the_display,
|
||||
meta_get_use_core_devices ());
|
||||
|
||||
meta_display_init_keys (the_display);
|
||||
|
||||
|
Reference in New Issue
Block a user