summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2017-03-01 08:51:31 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2017-03-02 09:34:44 +1000
commitfe5c340046c8cf755b92763a49b2dc475e856a76 (patch)
tree1aff1495282f990e4b93f49b2a40f3e7db74e9e1 /mi
parent27819950e4158326e0f83a30f2e8968b932625ef (diff)
xwayland: do not set checkRepeat on master kbd
keyboard_check_repeat() fetches the XWayland seat from the dev->public.devicePrivate do do its thing. If a key event is sent programmatically through Xtest, our device is the virtual core keyboard and that has a dev->public.devicePrivate of NULL, leading to a segfault in keyboard_check_repeat(). This is the case with "antimicro" which sends key events based on the joystick buttons. Don't set the checkRepeat handler on the VCK since it cannot possibly work anyway and it has no effect on the actual checkRepeat intended functionality. Bugzilla: https://bugzilla.redhat.com/1416244 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'mi')
0 files changed, 0 insertions, 0 deletions