[PATCH] Reapply settings when external keyboard connects
Nick Schermer
nick at xfce.org
Tue Jun 3 11:32:51 CEST 2014
Looks good. Applied in master.
Nick
On Mon, Jun 2, 2014 at 12:50 PM, Harald Judt <h.judt at gmx.at> wrote:
> Am 09.05.2014 20:05, schrieb Martin Kelly:
>> This patch fixes a longstanding frustration I've had with XFCE,
>> which is that every time I unplug an external keyboard and then
>> plug it in again, my keyboard repeat settings get lost. It is 100%
>> reproducible and has a fairly simple explanation, which is that
>> xfsettingsd does not listen for the device being added, so X11 sets
>> the keyboard repeat rate instead. Thus my patch is for xfsettingsd
>> to listen for keyboards being added and apply the keyboard
>> settings when the event fires.
>>
>> You can pull this patch from Github at:
>> https://github.com/aomighty/xfsettingsd-stash/tree/martin-kelly/external-keyboard-notify-X11
>>
>> Martin Kelly (1): Reapply settings when external keyboard
>> connects
>>
>> xfsettingsd/keyboards.c | 115
>> +++++++++++++++++++++++++++++++++++++++++++++---
>> xfsettingsd/keyboards.h | 12 +++++ 2 files changed, 122
>> insertions(+), 5 deletions(-)
>
> Thanks for this patch! It seems this also solves problems with
> settings lost after hibernate/resume.
>
> Harald
>
> --
> `Experience is the best teacher.'
>
> PGP Key ID: 0xBA3AC516
> Fingerprint: 569E 0ADA 440A 8B11 D1A2 AB47 8238 0256 BA3A C516
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev
More information about the Xfce4-dev
mailing list