backends/x11: Implement X11-specific MetaInputSettings

This goes through modifying XI2 device properties, either common ones (eg.
set on every device) or those specific to the libinput X11 driver. Keyboard
repeat/rate are set through core and XKB APIs.

https://bugzilla.gnome.org/show_bug.cgi?id=739397
This commit is contained in:
Carlos Garnacho
2014-10-29 15:37:29 +01:00
committed by Jasper St. Pierre
parent 460e1fd7ca
commit 3c06f2dc90
4 changed files with 281 additions and 0 deletions

View File

@ -31,6 +31,7 @@
#include "meta-backend-private.h"
#include "meta-input-settings-private.h"
#include "x11/meta-input-settings-x11.h"
#include <meta/util.h>
@ -603,5 +604,8 @@ meta_input_settings_init (MetaInputSettings *settings)
MetaInputSettings *
meta_input_settings_create (void)
{
if (!meta_is_wayland_compositor ())
return g_object_new (META_TYPE_INPUT_SETTINGS_X11, NULL);
return NULL;
}