[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    Re: [PATCH] xf86-input-libinput: Reapply configuration at DEVICE_ON
From:       Peter Hutterer <peter.hutterer () who-t ! net>
Date:       2015-01-29 23:48:14
Message-ID: 20150129234814.GB11524 () jelly ! redhat ! com
[Download RAW message or body]

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@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
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic