[PATCH] xf86-input-libinput: Reapply configuration at DEVICE_ON
Peter Hutterer
peter.hutterer at who-t.net
Thu Jan 29 15:48:14 PST 2015
On Sat, Jan 24, 2015 at 02:20:22AM +0100, Friedrich Schöller wrote:
> The driver ignored my xorg configuration. Maybe I am doing something wrong, but I tried to track down the error and came up with this solution.
>
> The device is closed after DEVICE_INIT so we need to apply configuration options at DEVICE_ON.
>
> Signed-off-by: Friedrich Schöller <code at schoeller.se>
> ---
> src/libinput.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/libinput.c b/src/libinput.c
> index 52b385e..d78c769 100644
> --- a/src/libinput.c
> +++ b/src/libinput.c
> @@ -326,6 +326,8 @@ xf86libinput_on(DeviceIntPtr dev)
> driver_context.device_enabled_count++;
> dev->public.on = TRUE;
>
> + LibinputApplyConfig(dev);
> +
> return Success;
> }
>
applied, thanks.
64e1b14..45e9b6c master -> master
Cheers,
Peter
More information about the xorg-devel
mailing list